GPApplication

Unit : GPApplicationUnit
Association : GPApplicationAsn
Inherits from : GPWindow, GPManager

Description

Manager of the entire program. Each program that uses GP must have a GPApplication object. This object provides the main window for the application. Any objects contained by a GPApplication object are placed in a row, similar to a GPRow.

Public Interface

CONSTRUCTOR Init;
Initializes a GPApplication. The title of the main window is set to "GPApp".

CONSTRUCTOR InitWithName (appName: string);
Initializes a GPApplication. The title of the main window is set to appName.

DESTRUCTOR Destroy; VIRTUAL;
Destroys a GPApplication.

PROCEDURE Run;
Displays the GPApplication window and any graphical GP objects it contains and processes events until the Quit method is called. This method should only be called once in a program.

PROCEDURE Quit;
Halts the execution of the program.

Subclasses

None

Please report any problems with GP or the documentation to GP Support .


GP Home Page GP Documentation
Loring Holden