Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to default myGrid.columns.myobjects to my own?
Message
De
17/01/2000 09:56:18
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00318908
Message ID:
00318949
Vues:
21
>I subclassed each foxpro object to my own. However, when I select mygrid, each object within the columns are the fox default ones. Is it possible to change it ? Maybe by modifying the grid builder, if possible ?

This can also be done at Run-Time rather than design time. In your grid class Init() you can put:
for each loColumn in This.Columns
	loColumn.RemoveObject('Text1')
	loColumn.AddObject('Text1', 'MyGridText')
	loColumn.Text1.Visible = .T.
endfor
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform