| 4D v15 R3OPEN COLOR PICKER | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
 | 
    4D v15 R3
 OPEN COLOR PICKER 
         | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| OPEN COLOR PICKER {( textOrBackground )} | ||||||||
| Parameter | Type | Description | ||||||
| textOrBackground | Longint |   | 0 or omitted = text color, 1 = text background color | |||||
The OPEN COLOR PICKER command displays the system color picker dialog box.
Note: This is a modal dialog box under Windows but not under OS X.
When the user selects a color and validates the dialog box, this color is applied to the current text selection in the object with the focus, if the "Allow Font/Color Picker" property is checked for this object (see the Design Reference manual).
If you pass 0 in the textOrBackground parameter or omit this parameter, the selected color is applied to the text. If you pass 1 in textOrBackground, this color is applied to the text background.
If the color was changed, the On After Edit form event is generated for the object.
	Product:  4D
	Theme:  System Environment
	Number:  
        1304
        
        
        
	
	Created:  4D v14
	
	
	
	4D Language Reference ( 4D v15 R3)
	
	4D Language Reference ( 4D v15)
	
	
	4D Language Reference ( 4D v15.4)
	
	
	
	
	4D Language Reference ( 4D v15.3)
	
	
 Add a comment
Add a comment