Hello,
>Is there a way to tell when the mouse cursor has left a control? For example, I want to know when my mouse cursor leaves a container control so I can set properties of that container i.e(raised,flat,sunken) etc. I have seen a technique using MROW()
>and MCOL() in a timer event, but I was wondering if there was another technique someone is using that I could try!
I think that you can try the following method:
1. Store object name when you move mouse over object like that:
MouseMove event()
lcObjectName = sys(1272,this)
if lcObjectName # gcPreviousobj
do necessary changes with your previous object
do changes with your actual object
gcPreviousobj = lcObjectName
endif
2. Do not forget to initialise gcPreviousObj param (or property of form, it
is up to your taste) when you start the form, otherwise it will bombs your
code ;)
Sure thing, it will give you a BIG overhead in coding and great PITA, because you must
place this code in EACH control that will participate in this game... Also,
I would say that I tried this method and it worked (at least for me)
* Human is a question asked by birth and answered by death. Machine is another kind of question with another kind of answer