[Gambas-user] Adding custom colors
Charlie
charlie at ...2793...
Tue Jul 28 17:48:56 CEST 2015
Create a form with one TextBox in it and use the code below. The "004F9F8B"
is the number from the 'Select a color' dialogue in my last post. (The one
in my last post shows "00000000")
Public Sub Form_Open()
Dim sMyColour As String = "0045279F"
Dim sHex As String
sHex = "&H" & sMyColour & "&"
TextBox1.Background = Val(sHex)
End
--
View this message in context: http://gambas.8142.n7.nabble.com/Adding-custom-colors-tp52076p52119.html
Sent from the gambas-user mailing list archive at Nabble.com.
More information about the User
mailing list