Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Amature GRID question.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00460388
Message ID:
00460545
Vues:
12
>Thank you for your reply, Nick.
>
>Unfortunately, my client WANTS a separate combo object. I am familiar with the grid contained combo though.

Then you need to use OBJTOCLIENT() function. It gives you the coordinates relative to the form.


For example:
*** grid.column1.Text1.Click()
lnTop = OBJTOCLIENT(this, 1)
lnLeft = OBJTOCLIENT(this, 2)
thisform.myCombo.Top = lnTop
thisform.myCombo.Left = lnLeft
Once you get the grid textbox coordinates, you can fine tune the position of and size of your combobox to cover the textbox nicely.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform