Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

The Backcolor of the text field

Hi All,

I want to know color code for Edit Text when my EditText.Enabled=False

Thanks in advance

Former Member


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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question