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

function NewForm(FormWidth, FormHeight, Caption)



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



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

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 1531 times since Thu, Dec 11, 2008
function NewButton(Left, Top, Caption, ButtonType = mrNone)
Viewed 1305 times since Fri, Dec 12, 2008
function NewComboBox(Left, Top, Text = "")
Viewed 1341 times since Tue, Dec 30, 2008
function NewRadioButton(Left, Top, Caption)
Viewed 1361 times since Fri, Dec 12, 2008
function NewEdit(Left, Top, DefaultText = "")
Viewed 1349 times since Fri, Dec 12, 2008