Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sizes of elements within grid
Message
De
19/08/2017 04:46:45
 
 
À
18/08/2017 11:31:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01652860
Message ID:
01653493
Vues:
47
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform