DelphinSoftware / vcl-styles-utils

Automatically exported from code.google.com/p/vcl-styles-utils
0 stars 0 forks source link

TStatusBar SizeGrip property shows no effect #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open VisualStylesEQU.dproj demo
2. Set SizeGrip property of StatusBar1 to false
3. Run and apply a style

What is the expected output? What do you see instead?

I expect the same behavior as in an unstyled application, i.e. no visible size 
grip.
Instead I always see a size grip. The SizeGrip property has no effect.

What version of the product are you using? On what operating system?
Revision 177. Windows 7 x64.

Original issue reported on code.google.com by erik.vir...@gmail.com on 29 Jan 2014 at 12:40

GoogleCodeExporter commented 9 years ago
This is a VCL Styles bug, not related to the VCL Styles Utils Project. btw this 
issue is very easy to fix, only create a new Style hook derived from 
TStatusBarStyleHook and override the Paint method, then only draw the tsGripper 
element if the SizeGrip property is set. 

Original comment by Rodrigo.Ruz.V@gmail.com on 6 Feb 2014 at 4:23

GoogleCodeExporter commented 9 years ago
Thank you for your help :-)

Original comment by erik.vir...@gmail.com on 6 Feb 2014 at 8:13