Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't add a combobox to a grid programatically
Message
From
15/11/2002 13:54:26
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Can't add a combobox to a grid programatically
Miscellaneous
Thread ID:
00723342
Message ID:
00723342
Views:
39
I have a class of a combobox the use in a grid.

I can add the combobox to a grid manually and it works fine.

If I try to add it programatically I get the error message "Value : Data type mismatched".

As added to grid there is nothing in the combobox control, no control source, no RowSource or RowSource type. Everything including the value property is at it's default except for Style set to 2 - Dropdown List

All of this work of assigning RowSource,Bound etc is done in the Init method which has not fired when the error occurs.

I add other combobox's to the grid using the same grid populating code and they work.
Best Regards
Don Simpson
Next
Reply
Map
View

Click here to load this message in the networking platform