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)