>Okay, I have done what you have told me, but what do you mean by "Now go to dblclick of grid and code what you want"?
>
>Because when i put a messagebox there, nothing happens when i doubleclick the grid.
>
>Isn't that strange?
>
>Ron.
Ron,
I think you missed something. After those steps when you check text1 in grid.columns, for dblclick you should see code 'this.parent.parent.dblClick()' written. Check that.
If right then any dblclick on textboxes call grid's dblclick method. However as I said before I assumed you were using default controls (text1). If currentcontrol is different then dblclick code won't be invoked. You could extent the code to write dblclick code to other controls too :
for each oControl in oCol.Controls
if upper(oControl.BaseClass) # 'HEADER' and pemstatus(oControl,'DBLCLICK',5)
oControl.WriteMethod(...)
endif
endfor
Cetin
Cetin