Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing the control in a column of the Grid at run time
Message
 
To
03/12/2001 16:45:38
Christopher Pinnock
United General Insurance Company
Kingston, Jamaica
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00588866
Message ID:
00588971
Views:
24
PMFJI

You have to add the checkbox first. something like Myform.MyGrid.Mycolumn.AddObject("checkbox1", "MyCheckBoxClass")

BTW, If you just set the grids controlsource = "" before changing the cursor and back to the correct controlsource it should leave the grid columns unchanged.

>Each time the cursor contents are changed and the grid is refreshed the grid displays default columns matching the fields in the cursor. This is the main reason why i have to be setting up the grid each time this happens.
>
>At this point getting in the control is of uttmost importance.
>
>Chris
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform