Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids : adding a custom textbox
Message
From
30/07/2001 10:28:06
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Grids : adding a custom textbox
Miscellaneous
Thread ID:
00537185
Message ID:
00537185
Views:
52
I want to add a column to a grid, containing a custom textbox. This customtextbox has 2 methods that I need for some incremental searching and the grid needs to be created on the fly, not at development time.

This is the code I use :

ThisForm.Egrid1.addcolumn(1)
ThisForm.Egrid1.Column1.removeobject("text1") && first remove the standard textbox
ThisForm.Egrid1.Column1.addobject("MyTextBox1", "etextboxsearchgrid") && and put my own instead

When I check with the debugger, everything seems to be OK, but the column of the grid doesn't use the properties nor the methods defined in 'etextboxsearchgrid'.

Why is that ?
Next
Reply
Map
View

Click here to load this message in the networking platform