Home » Categories » Developer Documents » Development Archives » Development 8.7 and prior » Scripting Routines » Form & Component Routines

function NewForm(FormWidth, FormHeight, Caption)

 

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

Article Rating (0 Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
 
Attachments Attachments
There are no attachments for this article.
Related Articles
function NewLabel(Left, Top, Caption)
Viewed 1591 times since Thu, Dec 11, 2008
function NewEdit(Left, Top, DefaultText = "")
Viewed 1389 times since Fri, Dec 12, 2008
function NewCheckBox(Left, Top, Caption, Checked = false)
Viewed 1528 times since Fri, Dec 12, 2008
function NewButton(Left, Top, Caption, ButtonType = mrNone)
Viewed 1352 times since Fri, Dec 12, 2008
function NewRadioButton(Left, Top, Caption)
Viewed 1404 times since Fri, Dec 12, 2008