>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 ?
You should set your control to be visible.
If it's not broken, fix it until it is.
My Blog