How Toolbars Differ from FormsLast reviewed: August 6, 1996Article ID: Q128154 |
The information in this article applies to:
SUMMARYWith Visual FoxPro for Windows, you can create and customize toolbars. They may contain any type of control. Although toolbars appear in a window and can be included in form sets, they are different objects from forms. This article lists the properties, events, and methods that highlight the differences between toolbars and forms.
MORE INFORMATIONThe main characteristics of a toolbar is that it is dockable, has a half height title bar, and is always on top. When you build a toolbar, you may consider using the properties, events, and methods discussed in this article.
Closable PropertyThe CLOSABLE property is not a property of the toolbar. Toolbars can be closed by clicking the Close box. Set the CONTROLBOX property to .F. to specify that a toolbar cannot be closed. Note that the ControlBox property has no effect in Visual FoxPro for the Macintosh.
GetFocus and SetFocus MethodsA toolbar never receives the focus, and there is no GETFOCUS or SETFOCUS event handler for the toolbar object. However text box, list box, and edit box controls placed on a toolbar can receive the focus.
Activate eventThe ACTIVATE event occurs when a toolbar object is shown. The toolbar object does not receive the ACTIVATE event when it is clicked.
Deactivate eventThe DEACTIVATE event occurs when the toolbar is closed or hidden.
|
Additional reference words: 3.00 VFoxWin
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |