Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Double click on a grid
Message
From
02/10/2000 16:45:50
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00423619
Message ID:
00423749
Views:
14
>>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.com
ICQ #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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform