Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you add a control to a grid column?
Message
 
 
To
08/02/1999 04:36:11
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00184793
Message ID:
00185371
Views:
18
Tony,

If you click the Books on the toolbar you can add your own classlib to the toolbar, this way you can drop subclasses into the grid. You can also do it from the commabd window. Select the column in the prop sheet:

=aselobj( laCol )
laCol[1].RemoveObject( "Text1" )
set classlib to xyz additive
laCol[1].AddObject( "Text1", "MySubClass" )

>Make sure that the Form COntrols Toolbar is visible, click on the control of your choice then drop that control onto the grid column (Make sure that the grid is in edit mode before you start). As far as I know this is the only way to do it, but it does mean that you are only able to add controls form the base classes - you cannot do the same thing for sub-classed controls form your own libraries.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform