You need to remove the "normal" textbox and replace it with your own class textbox. In this class Click method you would have something like:
if type('this.parent.parent.name')='C' and lower(this.parent.baseclass) = 'column'
this.parent.parent.Click(this)
endif
See FAQ by Mike Helland about adding controls in Grid on the fly.
>Hi,
>
>I have a grid on a form that I am having to set the properties for on the fly.
>
>Is there a way to pass the double click event programmatically.
>
>I have tried the following syntax:
>
>FormName.PageFrame.PageNumber.GridName.ColumnName.TextBoxName.DblClick = 'ThisForm.DisplayName'
>
>
>Any suggestions would be greatly appreciated.
If it's not broken, fix it until it is.
My Blog