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 NewColorBox(Left, Top)
Viewed 1640 times since Tue, Dec 30, 2008
function NewCheckBox(Left, Top, Caption, Checked = false)
Viewed 1765 times since Fri, Dec 12, 2008
function NewButton(Left, Top, Caption, ButtonType = mrNone)
Viewed 1553 times since Fri, Dec 12, 2008
function NewLabel(Left, Top, Caption)
Viewed 1788 times since Thu, Dec 11, 2008
function NewEdit(Left, Top, DefaultText = "")
Viewed 1566 times since Fri, Dec 12, 2008