Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dumb, combo box on grid question
Message
 
To
26/03/1999 13:17:27
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00202484
Message ID:
00202547
Views:
21
>>I'm sure this is a dumb question but...
>>
>>I want to add a combo box to a grid form within code and i'm getting this >>error right at the point where the .addobject occurs
>>
>>Error with Combo1 - Value : Data Type mismatch.
>>
>>
>>
>>Here is the code:
>>
>>FOR i=1 to this.grid1.columncount
>> WITH this.grid1.columns(i)
>> .addobject("combo1","combobox")
>> .currentcontrol="combo1"
>> .header1.caption="Column "+transform(i)
>> ENDWITH
>>ENDFOR i
>>
>>Tia
>>
>>scott vandenelzen
>
>
>.currentcontrol = "combo1"
>Cetin

Thanks, but it didn't solve me problem, the error is occurring in .addobject

scott
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform