>>I have a grid! I have code on her DBLCLICK() event.
>>Nothing happens! What's going on? Don't tell me i must put the code at Column.text....
>>
>>Ric
>
>Hi Ric,
>
>Are you sure, that grid is 'she'? :)
maybe this comes from Portuguese language? :) Just kidding.
>Regarding your question: you may have in Column.text this code:
>this.parent.parent.DblClick() and put your code in grid.DblClick event.
>You may want to substitute grid's native textboxes with your own textbox class in Grid.Init (it could be your grid class, which would have this functionality).
Usually, when you make serious application, you will have your own grid class. So, Nadya given right idea - make you own classes for grid controls too. So you can put this.parent.parent.DblClick() in the control class. No need to replicate it in the form than.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.