Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo box in grid
Message
 
 
To
09/08/2000 01:53:20
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00402660
Message ID:
00402832
Views:
7
>Using VMP 4.0 I cannot get a combo box to work in any of the grid controls. The control displays and will let you type but the selection list will not drop down. I tested using a standard grid control and it works fine.
>
>TIA
>Robert Mosley

Robert,
For some reason, the offending method is the SetColumnControlSources. Here is a work around.

1. Set the Bound property of the combobox column to .F.
2. In the SetColumnControlSources method, instead of setting the ControlSource for that column, set the ControlSource of the Combobox.

SetColumnControlSources Ex.
With THIS
   .Column1.Combo1.ControlSource = "mytable.myfield1"
   .Column2.ControlSource = "mytable.myfield2"
   .Column3.ControlSource = "mytable.myfield3"
Endwith
HTH.

P.S. Did you ever get the training/help you wanted?
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform