Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Add a line of code to dblclick of 52 cells in a grid
Message
From
21/02/2008 14:53:32
Dorin Vasilescu
ALL Trans Romania
Arad, Romania
 
 
To
21/02/2008 14:34:20
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01294893
Message ID:
01294961
Views:
11
>
>I am also fairly new to BindEvent, so I have a question: If anything else is already programmed in the specific event (in this case, Column.DblClick()), directly or through inheritance, would that code still be executed? Or would the BindEvent() replace the code, just as if I wrote the code directly and forgot to include DoDefault()?

Hi
You can control this with nFlag parameter sent to BindEvent() function.
IMO, this function (and the ability to bind to windows messages ) was one of the most useful additions to VFP.
You don't need anymore to always redesign classes to implement new behavior, juste use BindEvent and RaiseEvent

See my Download #28888 , which uses it extensively.
Previous
Reply
Map
View

Click here to load this message in the networking platform