Search:     Advanced search

function NewForm(FormWidth, FormHeight, Caption)

Article ID: 311
Last updated: 24 Sep, 2010
Views: 955
Posted: 11 Dec, 2008
by Thomas B.
Updated: 24 Sep, 2010
by Murray D.

 

Description:

Creates a new form to allow custom user input to the script.

Notes:

Parameters

FormWidth (This is an integer value for the pixel width of the form.)

FormHeight (This is an integer value for the pixel height of the form.)

Caption (This is a string value for the caption of the form.)

Pascal Example:

Form := NewForm(230,150,'Sample Form');
if Form.ShowModal <> mrOK then
   Exit;

Visual Basic Example:

Form = NewForm(230,150,"Sample Form")
if Form.ShowModal <> mrOK then
  Exit funciton;
End if;


Enterprise and Developer editions

This article was:  
Prev  Not what you're looking for? Suggest a topic  Next
Form & Component Routines     function NewLabel(Left, Top, Caption)