Hello all,

Im just starting ActiveX Programming and i was wondering how to make a BackColor and ForeColor Property for the "Label" Type Control. Ive Got Font fine, but BackColor isnt working. Ive tried;



Public Property Get BackColor() As OLE_COLOR
Set BackColor = UserControl.Label.BackColor
End Property

Public Property Set BackColor(ByVal New_BackColor As OLE_COLOR)
Set Label.BackColor = New_BackColor
PropertyChanged ("BackColor")
End Property

Get and Object Required Error but it is highlighting BackColor in the Property Get sub.


Help


«°°phReAk°°»