This property returns the colour of the specified edit control encoded as 32 bit integer value, where the first byte contains Red channel, the second byte - Green channel and the third byte - Blue channel.
object.Color
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISEdit interface |
uint
Display some information about the specified edit control, including its colour in HEX format.
Dim aEdit
Dim aEditInfo
Set aEdit = Form.Controls_("edtInform")
aEditInfo =_
"Type Name: " & aEdit.TypeName & vbNewLine &_
"ShortName: " & aEdit.ShortName & vbNewLine &_
"Color (BGR): #" & HEX(aEdit.Color)
Profile.MsgBox(aEditInfo)
In Profile Client v8 on User Interface Color can be found in
.