General information
Title:
How to create a custom control class?
Hi,
I'm kind of new to Visual Basic 6 and trying to learn its ways.
Having quite some experience with Visual FoxPro, I imagined that Visual Basic would be pretty much of the same with a different syntax, however, I have the following problem:
I want to create a custom control (a custom class), like a textbox, but when I add a class it seems to be reserved for functions only, thus no visual components possible. I thought the UserControl approach was the answer but I have no idea how I can instantiate it in code, besides that all the documents I read about it insinuate the UserControl is some kind of ActiveX base only.
In Visual FoxPro this is as easy as 1+1, so I refuse to believe that the same action demands so much work(around) in an older language as Visual Basic.
Could anyone out there give me a hint on how I can accomplish this???
Thanks in advance.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only