Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine top and left of active row in grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01552416
Message ID:
01552428
Vues:
54
>>To get the Top of the activerow, you can loop through the columns until column.ColumnOrder == Activecolumn (grid must have the focus)
>>
>>Then get the column's currentControl ( loop through them until Controls[ i ] .name == CurrentControl
>>
>>You now have an object (textbox, editbox,. ...)
>>
>>If you use ObjToCLient on that object, you have the Top of the ActiveRow - relative to the form
>>
>
>Thanks. I couldn't remember ObjToClient's name. That's what I was looking for.
>
>Any idea how to get an ObjToClient relative to the _screen ? I can obviously add form.top and form.left but those + objtoclient values don't factor in form border which itself is dependent on the relevant theme I would think.

found it. another one I don't use very often, sysmetric()
Brandon Harker
Sebae Data Solutions
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform