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 NewButton(Left, Top, Caption, ButtonType = mrNone)
Viewed 1250 times since Fri, Dec 12, 2008
function NewLabel(Left, Top, Caption)
Viewed 1472 times since Thu, Dec 11, 2008
function NewComboBox(Left, Top, Text = "")
Viewed 1298 times since Tue, Dec 30, 2008
function NewEdit(Left, Top, DefaultText = "")
Viewed 1301 times since Fri, Dec 12, 2008
function NewRadioButton(Left, Top, Caption)
Viewed 1316 times since Fri, Dec 12, 2008