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 RSS Feed
function NewColorBox(Left, Top)
Viewed 1370 times since Tue, Dec 30, 2008
function NewLabel(Left, Top, Caption)
Viewed 1517 times since Thu, Dec 11, 2008
function NewButton(Left, Top, Caption, ButtonType = mrNone)
Viewed 1296 times since Fri, Dec 12, 2008
function NewCheckBox(Left, Top, Caption, Checked = false)
Viewed 1463 times since Fri, Dec 12, 2008
function NewComboBox(Left, Top, Text = "")
Viewed 1328 times since Tue, Dec 30, 2008