Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
3 Grid Questions
Message
From
09/07/1999 05:09:56
 
 
To
09/07/1999 03:49:46
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00238736
Message ID:
00239320
Views:
16
Hello Marcia

>
>>> I thought about saving the grid as a class and then reinstating it, but I don't know how to do that yet, or even if it can be done. <<
>
>In the form designer, select the grid and from the file menu select Save As Class.
>

I managed that bit - but how do you re-instantiate it?



>In the code where you set up the grid again, try
>
>

>WITH frmMyForm.MyPageframe.MyPage.MyGrid.Column3
> .AddObject('MyCheckBox','CheckBox')
> .CurrentControl = 'MyCheckBox'
> .Sparse = .F.
>ENDWITH

now this worked - almost! The checkbox appeared but all blank - as though not bound to data. Yet any attempt by me to force its controlsource was rejected...

Nearly there though!

Thanks

Harry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform