Thanks, Marcia. Now there is no need for special textbox class.
>
In order to use grid's DblClick event you would have to put code in Column's text DblClick event like this.parent.parent.DblClick(this)>
>Actually, this is not true in VFP 8.0. You can use code like this in the grid's Init to let the text boxes use the grid's dblClick()
>
>
>*!* now make sure that the dblclick method of all the contained text boxes
>*!* delegate to the grid's dblclick()
>FOR EACH loColumn IN This.Columns
> FOR EACH loControl IN loColumn.Controls
> IF LOWER( loControl.BaseClass ) = 'textbox'
> BINDEVENT( loControl, 'dblClick', This, 'dblClick' )
> ENDIF
> ENDFOR
>ENDFOR
>
If it's not broken, fix it until it is.
My Blog