Add this code to your form.
The "weird" value is the hexadecimal representation of the back colour. This code shows the hex and decimal representations.
VB Code:
Option Explicit Private Sub Form_Load() MsgBox Hex(Me.BackColor) & " as a decimal is " & Me.BackColor, , "Form Back Colour" End Sub




Reply With Quote