Method XbpActiveXControl():mouseDown() Foundation
Default event handler for ActiveX control event "MouseDown" (DISPID_MOUSEDOWN).
:mouseDown( <nButton>, <nShift>, ; <nXPos>, <nYPos> ) --> self
This method returns the object executing the method (self).
The method :mouseDown() is called automatically upon reception of a "MouseDown" (DISPID_MOUSEDOWN) COM event. The :mouseDown() event handler generates an xbeM_LbDown, xbeM_RbDown or xbeM_MbDown event. The event is posted to the current thread's message queue using the function PostAppEvent().
Applications can process mouse events via the standard event protocol defined for Xbase Parts. In order to react to mouse event generated by an ActiveX control, a code block can be assigned to one of the callback slots :lbDown, :rbDown or :mbDown, respectively. Alternatively, an overloaded method :lbDown(), :rbDown() or :mbDown() can be implemented in a derived class.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.