This class is a manager class that handles and tracks System Toolbars so you can automatically remove the Visual FoxPro system toolbars in your application and later restore them. This class is used with the framework generated by the Application Wizard.
Category | Application |
---|---|
Default Catalog |
VisualВ FoxProВ Catalog\FoundationВ Classes\Application |
Class |
_systoolbars |
Base Class |
Custom |
Class Library |
_app.vcx |
Parent Class |
_custom |
Sample |
...\Samples\Solution\Ffc\environ.scx |
Remarks
To use, drop the class on a project or form or, from the Component Gallery Item shortcut menu, select Add to Project or Add to Form. When you add the class to a project, you can choose between adding the class or creating a subclass. When you add the class to a form, Visual FoxPro places the icon on the form. You can then specify the appropriate property values and provide any necessary objects.
If lAutomatic is true (.T.), as in a READEVENTS-type application, the class automatically hides all existing system toolbars when you instantiate it. It then automatically restores the system toolbars hidden when it went out of scope.
You can also call the HideSystemToolbars(В ) and ShowSystemToolbars(В ) methods manually.
Properties, Events, Methods | Description |
---|---|
lAutomatic property |
Automatically hides and restores system toolbars for the application. Default: .F. |
aSystemToolbars[1,0] property |
The array of system toolbars. Default: .F. |
Hidesystemtoolbars method |
Manually hides system toolbars for the application.
Syntax:
Return: none Arguments: none |
Showsystemtoolbars method |
Manually shows system toolbars for the application.
Syntax:
Return: none Arguments: none |
Initializetoolbararray method |
Internal to the class. |