| 
                    
 This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com  | 
            |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
                 
                
  | 
                
					
                    
                         
    4D v19
 
TimePicker LCD SET COLOR 
                                
                                
        
 | 
                ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| TimePicker LCD SET COLOR ( objectName ; color {; colorG ; colorB} ) | ||||||||
| Parameter | Type | Description | ||||||
| objectName | Text | 
             
         | 
        Name of subform object | |||||
| color | Longint | 
             
         | 
        Value of RGB color (4 bytes) or Value of red component (0..255) if the other parameters are passed | |||||
| colorG | Longint | 
             
         | 
        Value of green component (0..255) | |||||
| colorB | Longint | 
             
         | 
        Value of blue component (0..255) | |||||
The TimePicker LCD SET COLOR command sets the colors for the digits in the objectName subform object (digital clock only).
This command accepts two syntaxes:
| Byte | Description | 
| 3 | Must be zero for an absolute RGB color | 
| 2 | Red component of color (0..255) | 
| 1 | Green component of color (0..255) | 
| 0 | Blue component of color (0..255) | 
Change the clock digits to red:
 TimePicker LCD SET COLOR("Subform1";0x00FF0000)
  // can also be written: TimePicker LCD SET COLOR ("Subform1";255;0;0)
	Product:  4D
	Theme:  TimePicker
	
        
        
	
	Created:  4D v14
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	4D Widgets ( 4D v19)
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
Add a comment