FormShow()


Displays a form window previously defined using FormCreate() and FormAdd().

Syntax

FormShow([<cTitle>], [<cOKButton>], [<cCancelButton>], [<lSideButtons>]) --> lResult

Arguments

<cTitle> --> The title of the form window.

<cOkButton> --> The label of the OK button. If not passed the default is OK.

<cCancelButton> --> The label of the cancel button. If not passed this becomes Cancel.

<lSideButtons> --> Passing TRUE will display the OK and Cancel buttons to right side of dialog, otherwise passing FALSE will display buttons below the dialog.

generate/notepad1.gifIf omitted, the FormShow() function will decide on the most suitable lay-out with the preference being for the buttons to be arranged along the bottom.

Returns

Returns TRUE if the user presses the OK button, otherwise FALSE.

Description

Instructs CAPITAL to display the form window.

Example

FormCreate()

FormAdd("Name", "", 20)

FormShow("A New Dialog Window","Proceed", "Abort", TRUE)

____________________________

Related Topics:

Business Function List

FormAdd()

FormCreate()

FormResult()



CAPITAL VISUAL BUILDER