Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox in grid
Message
From
03/08/2005 09:44:13
 
 
To
02/08/2005 09:19:38
Albert Beermann
Piepenbrock Service Gmbh & Cokg
Osnabrück, Germany
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
Database:
MySQL
Miscellaneous
Thread ID:
01037801
Message ID:
01038107
Views:
22
With the IDE i put a combobox into a column. (column2 now has header1,text1 and combo1)
A init of my form i did:
thisform.grid1.column2.currentcontrol = "combo1"
thisform.grid1.column2.rowsourcetyp ....
thisform.grid1.rowrource ....

error:column2 currentcontrol expression return invalid value ???


Is there some reason that you doing this in code? Wouldn't it be much simpler just to set the column's CurrentControl property in the property sheet in the desgner?

The only reason that I can think of for such an error is that you have a typo and have misspelled the name of the combo in column2. Or else therre really is no combo in column2...

You may want to check out the white paper and sample code on my web site called "ow to Put a Combo Box in a Grid"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform