Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to add custom code in method in custom grid class
Message
De
13/03/2002 18:29:02
 
 
À
13/03/2002 18:00:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00632461
Message ID:
00632471
Vues:
17
This may work;
LOCAL oCol as column, oGrid as grid
Grid::refresh
this.RecordSource = ''

this.columncount = -1	&& Remove all columns

this.Columncount = FCOUNT()	&& Create new default columns
for each oCol in this.Columns
	oCol.removeobject('TextBox1')
	oCol.addobject('TextBoxCustom1','cTextBoxCustom')
ENDFOR

this.RecordSource = ALIAS()
I have not tried it but it is worth an attempt.

Glenn
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform