Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to add custom code in method in custom grid class
Message
From
13/03/2002 18:29:02
 
 
To
13/03/2002 18:00:44
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00632461
Message ID:
00632471
Views:
15
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
Previous
Reply
Map
View

Click here to load this message in the networking platform