4D v16.3

Events (Modifiers)

Home

 
4D v16.3
Events (Modifiers)

Events (Modifiers) 

 

Constant  Type Value Comment
Activate window bit  Longint 0  
Activate window mask  Longint 1  
Caps lock key bit  Longint 10 Windows and OS X
Caps lock key mask  Longint 1024 Windows and OS X
Command key bit  Longint 8 Ctrl key under Windows, Command key under OS X
Command key mask  Longint 256 Ctrl key under Windows, Command key under OS X
Control key bit  Longint 12 Ctrl key under OS X, or right click under Windows and OS X
Control key mask  Longint 4096 Ctrl key under OS X, or right click under Windows and OS X
Mouse button bit  Longint 7  
Mouse button mask  Longint 128  
Option key bit  Longint 11 Alt key (also called Option under OS X)
Option key mask  Longint 2048 Alt key (also called Option under OS X)
Right control key bit  Longint 15  
Right control key mask  Longint 32768  
Right option key bit  Longint 14  
Right option key mask  Longint 16384  
Right shift key bit  Longint 13  
Right shift key mask  Longint 8192  
Shift key bit  Longint 9 Windows and OS X
Shift key mask  Longint 512 Windows and OS X


See also 

OBJECT GET SHORTCUT
OBJECT SET SHORTCUT
ON EVENT CALL
POST EVENT
POST KEY

 
PROPERTIES 

Product: 4D
Theme: List of constant themes

 
HISTORY 

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)