[Gambas-user] R: Label1.Foreground = Color("#FF0000"), How to?

Yahoo olivier.cruilles at ...614...
Thu Mar 24 18:33:53 CET 2016


Dim col as string = "#FF0000" 

Label1.Foreground = Val("&H" & col & "&")



Olivier Cruilles

Le March 24, 2016 à 13:17:50, abbat81 (abbat.81 at ...787...) a écrit:

Dim col as string = "#FF0000"  

How to conver? CInt(Replace(st, "#", "&")) doesn't work  

Label1.Foreground = col  



--  
View this message in context: http://gambas.8142.n7.nabble.com/R-Label1-Foreground-Color-FF0000-How-to-tp55763p55764.html  
Sent from the gambas-user mailing list archive at Nabble.com.  

------------------------------------------------------------------------------  
Transform Data into Opportunity.  
Accelerate data analysis in your applications with  
Intel Data Analytics Acceleration Library.  
Click to learn more.  
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140  
_______________________________________________  
Gambas-user mailing list  
Gambas-user at lists.sourceforge.net  
https://lists.sourceforge.net/lists/listinfo/gambas-user  



More information about the User mailing list