[HELP PLZ!!] I'm having a little problem setting the default value of a property
ahem, here's the property:
VB Code:
Private DEFAULT_FONT As Font = New Font ("Arial")
<DefaultValue(DEFAULT_FONT)> _
Public Overrides Property Font() As Font
Get
Return mFont
End Get
Set(ByVal Value As Font)
mFont = Value
End Set
End Property
It says that DEFAULT_FONT has to be a constant expression, but I cant declare a constant of type font.
What should I do? I just want to have a default value for the font property:rolleyes: