>>
<<
Ndx
Usr
Pri
Phr
Dic
Rel
Voc
!:
wd
Help
User
isigraph events
An isigraph control supports character and mouse events. The Code Dialog in the form editor lists all events for an isigraph control.
char key press
size resize event (OpenGL, gl2 must request with glwantresize)
paint paint event (OpenGL only)
mmove mouse move event
mbldbl mouse button left double-click
mbldown mouse button left down
mblup mouse button left up
mbrdbl mouse button right double-click
mbrdown mouse button right down
mbrup mouse button right up
For mouse events the wdhandler variable sysdata contains:
x y width height leftbutton rightbutton ctrl shift
The x y width and height are in pixels and the other values are 1 if the corresponding button or key was down when the event occurred.
For a char event sysdata contains the value of the character. Characters, such as HOME, END, or the arrow keys are returned as 128+VK_name (virtual key) as defined in packages\graphics\vkeys.js. A shifted ascii character returns sysdata with the appropriate character. For example, pressing the a key with shift has a sysdata of A. Shift and ctrl key information is in sysmodifiers. This is 0 for neither, 1 for shift, 2 for ctrl, and 3 for both. For normal asci characters you won't see a ctrl value as that is treated as a shortcut key and not an isigraph char event. Keys such as the arrow keys can have a ctrl in sysmodifiers.
>>
<<
Ndx
Usr
Pri
Phr
Dic
Rel
Voc
!:
wd
Help
User