New topic in General: 

Passing RGB by Text

geocom - Mon May 05, 2008 4:34 am

<http://forums.realsoftware.com/viewtopic.php?t=22198>
                                                                                
                                                                                
i am having some issues using a prefs file to pass the value to a RGB Gradient 
i have no issue passing the value when the code is pre-passed
Code:g.DrawAxialGradient me, false, RGB(168, 168, 168), RGB(145, 145, 145), 0, 
0, me.Width, me.Height

so to get my RGB values set by the prefs file i tried
Code:g.DrawAxialGradient me, false, RGB(Prefs.StringTabTopValue),  
Val(Prefs.StringTabBottomValue), 0, 0, me.Width, me.Height
but it did not work as the RGB command expects to have a RGB value and not 
text. I have no other ideas on how to do this so any help would be greatly 
appreciated                                                                     
                  
_________________
Real Basic 2006 R3 For MAC
Check Out My Blog Here
http://geocom.wordpress.com
And My Site Here
http://geocom.co.nz
And get my wonderful program Menuola                                    
                                                                                
                                                                                
                                                                                
                                                                                
                                        



-- 
Over 900 classes with 18000 functions in one REALbasic plug-in. 
The Monkeybread Software Realbasic Plugin v8.1. 

&lt;http://www.monkeybreadsoftware.de/realbasic/plugins.shtml&gt;

[email protected]

Reply via email to