| Author | 
         | 
         
      
        
         
         GadgetGuy Super User 
          
  
  Joined: June 01 2008 Location: United States
 Online Status: Offline Posts: 942
          | 
        
         
          
           | Posted: January 10 2009 at 10:39 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Is there any way to use hex values in ph function data 
 elements?
 
 When setting colors for Control Center objects it sure 
 would be nice to enter "FF0000" instead of "268369920" 
 for the color RED.  The latter is not exactly user 
 friendly!    
  __________________ Ken B - Live every day like it's your last.  Eventually, you'll get it right!
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         nadler Super User 
          
 
  Joined: February 25 2006 Location: United States
 Online Status: Offline Posts: 354
          | 
        
         
          
           | Posted: January 10 2009 at 11:48 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
You can use
 
 rgb(255, 255, 0 )
 
 instead.
 
 The above is red or yellow I forget which.
 
 
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         TonyNo Moderator Group 
          
  
  Joined: December 05 2001 Location: United States
 Online Status: Offline Posts: 2889
          | 
        
         
          
           | Posted: January 10 2009 at 11:49 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
I use the rgb() function, but I think there is a way to use hex. I can't find it now.    
 
 rgb( 200, 0, 0 )
         | 
       
       
        | Back to Top | 
         
          
          
         | 
       
       
       
        |   | 
      
        
         
         GadgetGuy Super User 
          
  
  Joined: June 01 2008 Location: United States
 Online Status: Offline Posts: 942
          | 
        
         
          
           | Posted: January 10 2009 at 15:07 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Roger That!
 
 Thanks.  I see it now in the function list.
 
 Much friendlier!!
  __________________ Ken B - Live every day like it's your last.  Eventually, you'll get it right!
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         TonyNo Moderator Group 
          
  
  Joined: December 05 2001 Location: United States
 Online Status: Offline Posts: 2889
          | 
        
         
          
           | Posted: January 10 2009 at 18:15 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Ah ha!
 
 ph_hextonum( "FF0000" ) 
 
 Searching Help for "hex" did not find that.    
  Edited by TonyNo - January 10 2009 at 18:16
         | 
       
       
        | Back to Top | 
         
          
          
         | 
       
       
       
        |   | 
      
        
         
         GadgetGuy Super User 
          
  
  Joined: June 01 2008 Location: United States
 Online Status: Offline Posts: 942
          | 
        
         
          
           | Posted: January 10 2009 at 19:34 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Good for you!
 
 Sometimes I just browse the Function Index list in the 
 Help window to see if I can see anything that I might 
 want to learn more about, or use later.
 
 I've started my own notebook of useful functions doco so 
 I can find them later!
 
 This one will get added.
  __________________ Ken B - Live every day like it's your last.  Eventually, you'll get it right!
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   |