Dim col as string = "#FF0000" Label1.Foreground = Val("&H" & col & "&")
Olivier Cruilles Le March 24, 2016 à 13:17:50, abbat81 (abbat...@mail.ru) 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------------------------------ 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user