-
How I do to build a control that uses the standard controls, for instance a textbox
and do inherit all the properties of this control, besides the properties that I to place in this control.?
As I build a control that contains more than a control, for instance I want to build a control that has something similar to the text box, more some properties and events, and in this same control it contains a grid with properties, events, methods. eg: the control MSCOMCT2.OCX that contains ANIMATION,UpDown,MonthView,DTpicker,FlatScrollBar
Where can I find a good tutorial on controls and class
-
Property Get/Let is what you need to transfer the properties and Public Event/Raiseevent for the events. Also, making more controls drains system resources, you could use classmodules instead.
-
See online tutorials
Karl Moore did a thing on making TextBoxes with added
properties. (The first instalment starts with the very
basics of ActiveX controls, but later on (2nd or 3rd lesson)
he tells you how to do what you want.
(He's also real funny ;))
Here's the site:
http://www.vb-world.net/activex/controls/
Hope that helps (it helped me :cool: )
Bye!