Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need to get a POPUP GRID from the RIGHT CLICK off a GRI
Message
From
11/08/1997 12:22:24
 
 
To
11/08/1997 11:59:34
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00043802
Message ID:
00044005
Views:
37
>>>>>>>>I am working with vfp30 and can not wait to get back
>>>>>>>>to vfp50. I need to get a POPUP GRID (of STATES for the user
>>>>>>>> to pick from) from the RIGHT CLICK event on a GRID COLUMN.
>>>>>>>>I am not sure how to call this POPUP GRID.
>>>>>>>>Can someone get me started.....thanks
>>>>>>>
>>>>>>>You probably want to have Combobox as a Column.CurrentControl. Is it right?
>>>>>>
>>>>>>Hi Edward...
>>>>>>
>>>>>>NO - This POPUP GRID will be a lookup table for the entire GRID and not record specific. A field on the GRID needs a number and the only way to get this number is to look it up through POPUP windows. The first window will be STATE (you pick your STATE) then CITY, etc.. After you find your CITY, the number from the lookup table will be inserted into the number field in a COLUMN in the GRID. I do not need a DROPDOWN COMBO off one of the COLUMNS.
>>>>>>Any ideas?..thanks..rob
>>>>>
>>>>>I think that 2-column (state+city) combobox would be a nice solution. If you for some reason don't like it, you could put command button into grid cell and open another modal form from its click event.
>>>>
>>>>Good morning Edward... thanks for answering... where would I
>>>>put this 2-column (state+city) combobox? Would it be on a one of
>>>>the COLUMNs off the GIRD. I do not see how I could RIGHT
>>>>CLICK and get this feature....thanks..rob
>>>
>>>You don't need in RightClick. Just add combobox to a column. Do you know how to do this?
>>
>>Robert- maybe you could get the functionality you want by calling a modal form with the lookup grid from the right click event of the text box in your grid:
>>Do form lookupform with lncurrentvalue to lnnewvalue
>>where lookupform is your form with a grid situated to look like a browse window.
>>
>>Erik
>
>Surely, modal form can be called by rightclick and by many other means. The only concern here that it will be clear overhead in comparison with column.combobox. BTW, users don't like to switch: leftclick/rightclick/leftclick/...crash

I completely agree. I only suggested this because Robert seemed intent on the right click idea.

Erik
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform