Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you add a control to a grid column?
Message
 
 
À
08/02/1999 04:36:11
Tony Bater
Velindre Nhs Trust
Cardiff, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00184793
Message ID:
00185371
Vues:
19
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform