Zum Inhalt springen

Programmieren mit dBASE PLUS: showTaskBarButton

Aus Wikibooks


Legt fest, ob für das Formular auf der Windows Taskleiste ein Button angelegt wird. Nur für Nicht-MDI-Formulare.

Eigenschaft von

[Bearbeiten]

Form

Beschreibung

[Bearbeiten]

Default = True

Set the showTaskBarButton property to true to display a button for the form on the Windows Taskbar. However, a Windows Taskbar button will not display if the form's smallTitle property is also set to true.

When a form’s showTaskBarButton property is set to false, calling the form's open( ) method will cause its hWndParent property to be set to the hWnd property of a hidden parent window.

When the showTaskBarButton property is set to true, the hWndParent remains set at 0.

Switching between dBASE Plus, or a dBASE Application, and other Windows programs

Set the showTaskBarButton property to false before opening a form, via its readModal( ) method, to ensure that a modal form always stays on top when switching between dBASE Plus, or a dBASE Application, and other Windows programs.

When running a non-modal and non-mdi form, however, you must also set the form's hWndParent property to the appropriate parent hWnd (ex. _app.frameWin.hWnd), during the form's open( ) method, to ensure the form will always stay on top when switching between these programs.