R roarnold Active Member Licensed User Longtime User Apr 7, 2013 #1 I placed DarkGreen as a color for lettering and received the following: Parsing code. 0.13 Compiling code. Error Error compiling program. Error description: Unknown member: darkgreen Occurred on line: 358 btn31.TextColor = Colors.DarkGreen Word: darkgreen DarkGreen is in the color chart for Android. R
I placed DarkGreen as a color for lettering and received the following: Parsing code. 0.13 Compiling code. Error Error compiling program. Error description: Unknown member: darkgreen Occurred on line: 358 btn31.TextColor = Colors.DarkGreen Word: darkgreen DarkGreen is in the color chart for Android. R
PenguinHero Member Licensed User Longtime User Apr 7, 2013 #2 Hi, It may be an Android colour, but it isn't one supported by B4A as a constant. B4A prompts you with a list of the valid colour value constants after you type the colors. bit. For reference, you can find them here: Constants - Basic4android Wiki You can replace it with an RGB equivalent if you wish. btnScan.TextColor = Colors.RGB(0,100,0) Upvote 0
Hi, It may be an Android colour, but it isn't one supported by B4A as a constant. B4A prompts you with a list of the valid colour value constants after you type the colors. bit. For reference, you can find them here: Constants - Basic4android Wiki You can replace it with an RGB equivalent if you wish. btnScan.TextColor = Colors.RGB(0,100,0)
R roarnold Active Member Licensed User Longtime User Apr 7, 2013 #3 Got you. The drop down did not have it but I made the mistake of thinking what was .RGB would be there. Thanks, R Upvote 0
Got you. The drop down did not have it but I made the mistake of thinking what was .RGB would be there. Thanks, R