Neil Toulouse
Programmer
Hi!
I have been experimenting with the BINDEVENT in order to capture the CLICK and MOUSEMOVE events from _SCREEN (in VFP8).
I have done this by simply issuing the following command in the INIT of the form:
This works fine in my test form but when I implement it into the application, it seems to simply ignore the bindings!
So I have 2 questions:
1. Is there an easy way to check if the bindings have taken place?
2. Basically I am trying to emulate a menu with a form and the behaviour I am after is the form to close when the mouse pointer is moved past the confines of the form (ie onto _SCREEN) or when _SCREEN is clicked onto. Is there a better way of doing this?
TIA
Neil
I like work. It fascinates me. I can sit and look at it for hours...
I have been experimenting with the BINDEVENT in order to capture the CLICK and MOUSEMOVE events from _SCREEN (in VFP8).
I have done this by simply issuing the following command in the INIT of the form:
Code:
BINDEVENT( _SCREEN, "click", THISFORM, "click" )
BINDEVENT( _SCREEN, "mousemove", THISFORM, "mousemove" )
This works fine in my test form but when I implement it into the application, it seems to simply ignore the bindings!
So I have 2 questions:
1. Is there an easy way to check if the bindings have taken place?
2. Basically I am trying to emulate a menu with a form and the behaviour I am after is the form to close when the mouse pointer is moved past the confines of the form (ie onto _SCREEN) or when _SCREEN is clicked onto. Is there a better way of doing this?
TIA
Neil
I like work. It fascinates me. I can sit and look at it for hours...