Hello to all,
I am creating an ActiveX control. I have created custom properties using Get/Let. When I add the compiled control to a new project (.exe project) I can use my nifty little properties but there is one little hang up. They don't have any comments attached. I would think someone using this control would be confused if I didn't have such witty names like "Border_Color" for the properties.
I started a wizard control and changed the description (comment) for the property to see if I could get the wizard to give me the code to do this. It didn't, at least, nothing I could put into my code. But the description I modified had to be somewhere so I opened up the .ctl as text and woohoo:
Unfortunately this attribute is invisible during design in the IDE.
So, after a long winded description of my problem. Is there a better way to get custom definitions into my properties besides a manual edit outside of the IDE?
Matt
I am creating an ActiveX control. I have created custom properties using Get/Let. When I add the compiled control to a new project (.exe project) I can use my nifty little properties but there is one little hang up. They don't have any comments attached. I would think someone using this control would be confused if I didn't have such witty names like "Border_Color" for the properties.
I started a wizard control and changed the description (comment) for the property to see if I could get the wizard to give me the code to do this. It didn't, at least, nothing I could put into my code. But the description I modified had to be somewhere so I opened up the .ctl as text and woohoo:
Code:
Public Property Get Border_Color() As SomethingorOther
Attribute Appearance.VB_Description = "SuperCool Description."
Border_Color = vbHotpinkwithalittlemagenta
End Property
Unfortunately this attribute is invisible during design in the IDE.
So, after a long winded description of my problem. Is there a better way to get custom definitions into my properties besides a manual edit outside of the IDE?
Matt