G
Guest
This is my first attempt to create a custom control. I have set the Browsable
attribute (see below)and rebuilt the application but I cannot get the
property to show on the Properties form. The control and all that it inherits
from Control do show.
Am I missing something?
Thanks, Nigel B
<Description("The size of the label shown in the client area"),
Category("Appearance"), Browsable(True)> _
Public Property LabelSize(ByVal pSize As Size) As Size
Get
Return mLabelRealSize
End Get
Set(ByVal pValue As Size)
ChangeLabelSize(pValue)
End Set
End Property
attribute (see below)and rebuilt the application but I cannot get the
property to show on the Properties form. The control and all that it inherits
from Control do show.
Am I missing something?
Thanks, Nigel B
<Description("The size of the label shown in the client area"),
Category("Appearance"), Browsable(True)> _
Public Property LabelSize(ByVal pSize As Size) As Size
Get
Return mLabelRealSize
End Get
Set(ByVal pValue As Size)
ChangeLabelSize(pValue)
End Set
End Property