Xbasic

Window Functions

Description

Alpha Anywhere provides the following functions for controlling Alpha Anywhere windows.

Name
Description
A5_CLOSE_ALL_WINDOWS Function

The A5_CLOSE_ALL_WINDOWS() function closes all open windows except for the Control Panel.

a5_generic_close_window_code Function

Generates an Xbasic script to close all open windows except the current window.

A5_ISMAXIMIZED Function

The A5_ISMAXIMIZED() function returns .T. if the MDI child window has been maximized.

A5_LIST_OPEN_WINDOWS Function

The A5_LIST_OPEN_WINDOWS() function returns a CR-LF delimited list of open windows.

A5_MDI_WINDOWclass_ADD Function

The A5_MDI_WINDOWclass_ADD() is used to register a MDI window that is created using Xdialog so that the window is listed in the Window Bar and in the Windows menu.

A5_WINDOWBAR_CLOSE Function

The A5_WINDOWBAR_CLOSE() function hides the Window Bar at the bottom of the screen.

A5_WINDOWBAR_IS_OPEN Function

The A5_WINDOWBAR_IS_OPEN() function returns .T. (TRUE) if the Window Bar is open; otherwise, it returns .F. (FALSE).

A5_WINDOWBAR_SHOW Function

The A5_WINDOWBAR_SHOW() function displays the Window Bar at the bottom of the screen.

A5_WINDOWBAR_TOGGLE Function

The A5_WINDOWBAR_TOGGLE() function toggles the Window Bar from open to closed and vice-versa.

SYS_ID_ENUM Function

Return a list of top level windows.

SYS_ID_GET Function

SYS_ID_GET() obtains the Window_Handle of a program that is identified by its Window_Title.

SYS_ID_HIDE Function

SYS_ID_HIDE() hides the window specified by Window_Name.

SYS_ID_MAXIMIZE Function

SYS_ID_MAXIMIZE() maximizes the window named Window_Name and brings it to the foreground.

SYS_ID_MINIMIZE Function

SYS_ID_MINIMIZE() minimizes the window named Window_Name.

SYS_ID_MOVE Function

SYS_ID_MOVE() moves the window named Window_Name to the new location on the screen specified by Left_Position and Top_Position.

SYS_ID_POSITION_GET Function

SYS_ID_POSITION_GET() returns a character string that contains the location of Window_Name.

SYS_ID_RESIZE Function

SYS_ID_RESIZE() resizes the window named Window_Name to the dimensions specified by Width and Height.

SYS_ID_RESTORE Function

SYS_ID_RESTORE() returns Window_Name to the size and screen coordinates that it has before a SYS_ID_MAXIMIZE() or SYS_ID_MINIMIZE() command.

SYS_ID_SHOW Function

SYS_ID_SHOW() opens the window specified by Window_Name.

SYS_ID_SIZE_GET Function

SYS_ID_SIZE_GET() returns a character string containing the width and height in inches of Window_Name.

Window Methods

Alpha Anywhere provides the following methods for controlling the application window. These methods apply to Forms, Browses, and the Status Bar. Refer to the method description for the proper way to call the method.