Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic comboboxes in grid
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00612341
Message ID:
00612405
Views:
24
>>Hello Nick
>>
>>>>
>>>>when I run this grid then instead of comboboxes I see the grey space. If I add these comboboxes in Class designer then everthing works fine.
>>>>
>>>>What I'm doing wrong?
>>>>
>>>>TIA
>>>Does the column2.Currentcontrol property show the correct combobox name at runtime?
>>
>>How can I know that for specific row/col? I tried to put Wait window this.currentcontrol.name in ActivateCell event but nothing happens ;(
>>
>>TIA
>
>You can do this in the Watch window at runtime if you place there
>_screen.activeform.myGrid.Column2.CurrentControl
>
>BTW, let me get it straight ( I may not understand what you are trying to do): are you hoping to see the different comboboxes in different grid rows at runtime simultaneously? That should not work as there really only one CurrentControl in the all grid rows at a time. I didn't try anything like that myself.

However it might work if you use the technique from message#611309
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