Re: Catch child control mouse events by Trey
Trey
Wed Dec 31 22:12:42 CST 2003
You could set up your superclasses to bubble up the containership, then only
object-specific right-click's need to be coded otherwise. e.g.
** in any superclass RightClick
If Type("this.parent")=="O" ;
And PEMStatus(this.parent, "RightClick", 5)
this.parent.RightClick()
EndIf
"Arafat El-Sayed" <aea@aria.com.eg> wrote in message
news:089a01c3cf87$02b88e90$a101280a@phx.gbl...
> Hi,
>
> How to catch a child control mouse events in the parent
> object. For example if I have a container and a text box
> placed on it, How I can catch the mouse right click event
> in the container before it goes to the edit box.
>
> Thanks