January 2003
Intermediate to advanced
896 pages
19h 58m
English
In all the examples presented so far in this chapter, you’ve had to instantiate objects of the custom control or component classes by explicit programming. This technique works, as you’ve seen, but it is not as convenient as dragging, say, a list box from the toolbox onto your form. This section explains how to integrate your custom controls with the Forms Designer so that you can place your custom controls in the toolbox and have all the convenience that entails.
Dragging one of the built-in controls onto a form design surface makes Forms Designer perform the following actions:
Pick a name for the instance of the control (for example, listBox1).
Create a private reference variable of the appropriate type inside ...
Read now
Unlock full access