| 4D v15.4Shift down | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
 | 
    4D v15.4
 Shift down 
         | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Shift down -> Function result | ||||||||
| Parameter | Type | Description | ||||||
| Function result | Boolean |   | State of the Shift key | |||||
Shift down returns TRUE if the Shift key is pressed.
The following object method for the button bAnyButton performs different actions, depending on which modifier keys are pressed when the button is clicked:
  ` bAnyButton Object Method
 Case of
  ` Other multiple key combinations could be tested here
  ` ...
    :(Shift down&Windows Ctrl down)
  ` Shift and Windows Ctrl (or Macintosh Command) keys are pressed
       DO ACTION1
  ` ...
    :(Shift down)
  ` Only Shift key is pressed
       DO ACTION2
  ` ...
    :(Windows Ctrl down)
  ` Only Windows Ctrl (or Macintosh Command) key is pressed
       DO ACTION3
  ` ...
  ` Other individual keys could be tested here
  ` ...
 End case
									Caps lock down
									
									Macintosh command down
									
									Macintosh control down
									
									Macintosh option down
									
									Windows Alt down
									
									Windows Ctrl down
									
	Product:  4D
	Theme:  User Interface
	Number:  
        543
        
        
        
	
	Created:  4D v6
	
	
	
	
	4D Language Reference ( 4D v15.4)
	
	
	4D Language Reference ( 4D v15)
	
	
	
	
	
	4D Language Reference ( 4D v15.3)
 Add a comment
Add a comment