Top
PowerCOBOL V11.0 Reference
FUJITSU Software

5.95 ShowForm Method

Description:

Displays the specified form.

Used in controls:

None.

Used in objects:

Form

Parameters:

VT_I4 - WindowState S9(9) COMP-5

Description of Parameters:

The state in which the form should be displayed.

POW-SWHIDE: Puts the form in the background - it does not display a window.

POW-SWSHOWNORMAL: Displays the form using its default window size.

POW-SWSHOWMINIMIZED: Minimizes the form making it active.

POW-SWMINIMIZED: Minimizes the form making it inactive.

POW-SWSHOWMINNOACTIVE: Minimizes the form. The active window is unchanged (keeps the focus).

POW-SWSHOWMAXIMIZED: Maximizes the form making it active.

Return value:

None.

Example:

INVOKE POW-SELF "ShowForm" USING POW-SWSHOWNORMAL
INVOKE CmText1 "SetFocus"

Backward compatibility
method name:

SHOWSHEET

Backward compatibility
arguments:

S9(4) COMP-5