Why don't all the properties don't show up?
I'm new to active x controls - this is my first one - I'm trying to create an activex text box control that has more functionality then the standard textbox control. I use the wizard to create my properties but when I use the next control on a form I don't see all of the properties I thought I created. Why is this? For instance, I want the multiline property to be available to the developer but it isn't in the property list. I tried doing the following in the load event of my form
ctltextbox.multiline = true
and it gave me an error when I ran the program.
Compile error: Wrong number of arguments and invalid property assignment.
Why can't I access this property??:rolleyes:
Why don't all the properties show up?
Yes, it is public. Seems the problem stems from the property being design time only. For instance, if I create a standard project and put a text box on my form, I can't change the multiline or scrollbar properties at run time - only at design time. So in my control I can only expose the properties that are allowed at run time. I can't expose any that are design time only. No one seems to know a way around this. Help!!