Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sizes of elements within grid
Message
From
18/08/2017 11:31:43
 
 
To
18/08/2017 08:42:00
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01652860
Message ID:
01653478
Views:
60
>>Scrollbar width and height I can get through SYSMETRIC()
>>the width of grid lines can be retrieved from GridLineWidth property of the grid.
>>Anybody know off the top of their head if there's a constant or function that I can use that gives me the widths of the RecordMark and DeleteMark (if enabled) in a grid?
>
>It is fixed.
>RecordMark = 10 pixels
>DeleteMark = 8 pixels
>
>you can measure it with delta position of left visible column
>
>OBJTOCLIENT(thisform.grid1.column1,2)
>
Thanks! Have you checked if the size varies with the display DPI?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform