Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fire container, not control, events
Message
From
17/06/2011 17:23:22
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
17/06/2011 16:03:55
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01514956
Message ID:
01515016
Views:
59
>You could create a special container class and write some code in the INIT of this class:
>
>FOR EACH loControl IN THIS.Controls
>    BINDEVENT(loControl,"Click",THIS,"Click")
>    BINDEVENT(loControl,"Rightclick",THIS,"Rightclick")
>    BINDEVENT(loControl,"MouseMove",THIS,"MouseMove")
>    etc
>ENDFOR
>
And recurse that if the container contains a container, pageframe, grid or other object with member controls.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform