>>
APLDN Home

>>
Events

>>
Trainings

>>
APL Books

>>
APLDN Links

>>
Discussion Groups

>>
Downloads

>>
Articles

>>
Library

>>
Learning Tools

>>
APLDN User IO

>>
APL2000.com




Bug Reports

Author Thread: V6 Beta-2 - event behaviors - onContextMenu
brent.hildebrand
V6 Beta-2 - event behaviors - onContextMenu
Posted: Tuesday, February 28, 2006 4:37 PM (EST)

onContextMenu event - it does not fire initially on a Frame.  But adding an additional event (onMouseDown), then onContextMenu fires.

 

'f' Œwi 'Create' 'Form' ('onContextMenu' "'Context' Œwself")
 
'f.f' Œwi 'Create' 'Frame' ('onContextMenu' "'Context' Œwself")

 

Right click on the Frame, and nothing happens.  

<right clicking>

 Context f
 Context f

</right clicking>

 

Define the onMouseDown event, and now the onContextMenu event fires for the frame.

 

'f.f' Œwi 'onMouseDown' "'MouseDown' Œwself"
 MouseDown f.f
 Context f.f
 Context f

 

Additionally, the onContextMenu event fires for the object under the mouse, and for each parent up the chain.  Is it necessary to fire for each parent as they can be determined by the object under the cursor where the mouse event is fired???




APL2000 Official Web Site

Love sought is good, but given unsought is better.
--- Shakespeare

APLDN Home   |    |  Events   |  Trainings   |  APL Books   |  APLDN Links   |    |  Discussion Groups   |    |  Downloads   |  Articles   |  Library   |  Learning Tools   |  APLDN User IO   |  APL2000.com   |