Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sizes of elements within grid
Message
From
19/08/2017 04:46:45
 
 
To
18/08/2017 11:31:43
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01652860
Message ID:
01653493
Views:
48
>>>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?

Not checked, But I think it's fixed
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform