|
Home > Archive > Oracle certifications > June 2002 > Forms II Question
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| odonata 2002-06-14, 9:14 pm |
| Can anyone please answer this question, I am curious and can't seem to find the answer or determine answer in testing.
In what order are the mouse movement triggers likely to fire?
Thank you. | |
| mhusain 2002-06-18, 6:01 am |
| quote: Originally posted by odonata
Can anyone please answer this question, I am curious and can't seem to find the answer or determine answer in testing.
In what order are the mouse movement triggers likely to fire?
Thank you.
The three mouse movement triggers
1) when-mouse-enter Fires when user moves the mouse into item or canvas-view.
2) when-mouse-leave Fires when a user moves the mouse out of an item or canvas-view
3) when-mouse-leave Fires when a user moves a mouse within an item or canvas-view
Mouse event Trigger sequence
1) when-Mouse-up
2) when-mouse-down
3) when-mouse-click
4) when-mouse-down
5) when-mouse-up
6) when-mouse-doubleclick
i hope this helps.
Mohammad | |
| odonata 2002-06-18, 1:53 pm |
| Thank you for the response.
But, is that the order in which the mouse movement triggers fire?
Let me add more detail, for instance, say I had a when-mouse-enter trigger on itemA which is in blockA, and blockA also has a when-mouse-enter trigger on it, as well the a when-mouse-enter trigger on the form that both these objects are in. (I don't know if there is any practical reason for doing this...)
Anyway, so when the mouse enters into itemA, what is the order of the triggers firing?
I assume when-mouse-enter on the form will fire first, then when-mouse-enter on blockA will fire, then lastly, the when-mouse-trigger on itemA would fire. Is this true?
Thank you. | |
| mhusain 2002-06-25, 9:29 am |
| Hi
When an event occurs the most specific trigger overrides the triggers at the general level(default setting). This can be affected by execution hierarchy.
U can set the execution hierarchy property.
Overide; Only the cursor most specific to the cursor location fires. Default setting
After: The trigger fires after firing the trigger at the next highest level(if trigger exist)
Before: The trigger fires before the trigger fires at the next higher level(if one exist)
In ur case the trigger at the item level(most specific) will fire only. Other triggers will not fire unless u have changed the default to After or Before in execution hierarchy.
Hope this helps.
Mohammad
mhusain714@yahoo.com | |
| odonata 2002-06-25, 9:53 am |
| oh yeah!! I forgot about that 
Thanks! |
|
|
|
|