S
Stanley Glass
Is it possble to have a property like so:
And then be able to detect if the developer has changed it? So that it could
say change the visibility of another control within this same control?
-Stanley
Code:
<Bindable(True), Category("Appearance"), Description("The help image
associated with this control."),
Editor(GetType(System.Web.UI.Design.ImageUrlEditor),
GetType(System.Drawing.Design.UITypeEditor))> _
Public Property HelpImage() As String
Get
Return imgURL
End Get
Set(ByVal Value As String)
imgURL = Value
End Set
End Property
And then be able to detect if the developer has changed it? So that it could
say change the visibility of another control within this same control?
Code:
<Bindable(True), Category("Appearance"), Description("The help image
associated with this control."),
Editor(GetType(System.Web.UI.Design.ImageUrlEditor),
GetType(System.Drawing.Design.UITypeEditor))> _
Public Property HelpImage() As String
Get
Return imgURL
End Get
Set(ByVal Value As String)
imgURL = Value
if Value <> "" then
imgButton.Visible = True
else
imgButton.Visible = False
end if
End Set
End Property
-Stanley