I have a usercontrol which I would like to run the following code on but although if I click on an instance on the form I am able to set the visible property I dont seem to be able to at runtime. if I do me. then visible isnt one of the options. ASONText is a property created and put into the propertybag.
If Left(Me.ASOnText, 9) = "Condition" Then
Me.Visible = False
Me.Visible = True