on 10-10-2008 7:25 AM
Hi All,
I want to know color code for Edit Text when my EditText.Enabled=False
Thanks in advance
Hello,
I just pick the colour from mspaint with screen shot
Red: 239
Green: 235
Blue: 222
You need to convert to OX**** (16)
Kind Regards
-Yatsea
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
i guess you made a mistake in calculating the hex code to decimal.
RGB -> You have always 6 positions
RGB - 255, 255, 255 = (in Hex) FFFFFF = 16,777,215 (in Dec)
so when you want RGB 255,255,255 use
oItem.Backcolor = 16777215
so Blue = 0, 0, 255 = 0000FF = 255
oItem.Backcolor = 255
hope this helps you a bit
lg David
Hi
Try get it
Dim s = oForm.Items.Item("ITEM_UID").BackColor ' Integer
Console.WriteLine("BackColor=" & s)
Result
BackColor=-1
Regards
Sierdna S.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi..
use this code
OForm.Items.Item("Item-ID").BackColor = "-5192482"
Regards...
Billa 2007
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.