End

When you execute this procedure, you see the message box shown in Figure 19-9.

Figure 19-9:

Displaying the Caption property for a control.

Figure 19-9:

Displaying the Caption property for a control.

In some cases, these Control objects can contain other Control objects. For example, the first control on the Drawing toolbar contains other controls. (This also demonstrates that you can include menu items on a toolbar.) The concept of Controls within Controls becomes clearer in Chapter 20, when I discuss menus.

0 0

Post a comment