Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Amature GRID question.
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00460388
Message ID:
00460545
Views:
10
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform