Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids : adding a custom textbox
Message
From
30/07/2001 10:30:48
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
30/07/2001 10:28:06
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00537185
Message ID:
00537189
Views:
17
The original textbox is used. HELP CurrentControl.

Regards, Hilmar.

>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 ?
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform