FME_MOUSEOUT
Returned Parameters
- n
- The number of the control which triggered this event.
Performs Control Action?
- No action will be performed after this event was processed. So if you want to update the preview you have to add doAction(CA_PREVIEW); to the code that processed this event in the OnCtl handler.
Description
- The mouseout event will be triggered when the mouse leaves the screen space used by any control (numbered n) which has the MOUSEOVER properties specified in it's definition.
Example
%ffp
ctl(0): statictext(MOUSEOVER), "Move the mouse over me"
OnCtl(n):{
if (n == 0 && e == FME_MOUSEOVER){
setCtlTextv (0, "Now move off me");
}
if (n == 0 && e == FME_MOUSEOUT){
setCtlTextv (0, "Now move over me again");
}
return false;
}
Also see
- FME_MOUSEMOVE, FME_MOUSEOVER
Comments
- Everyone can add his comments about his experiences with this event here. Tips for using it are welcome, too.