MasterForm Object

A template-style form object with a place holder for the runtime form.

App.MasterForm

Client support

   Newlook Smartclient

   Newlook Server

Use

A Master Form is assigned to a project via the App object's MasterForm property. It must be specified in your startup script or macro using the following syntax:

App.MasterForm = "FormName"

where FormName is the name of the master form that you wish to assign to the project.

In order to work with controls on the master form you need to explicitly reference the master form object in the control path. For example, if you wished to hide a control called 'CompanyLogo' on your master form then you would reference the control in the following manner:

App.MasterForm.CompanyLogo.visible = False

The Newlook runtime client is represented on a master form by the Content Placeholder object. This object allows you to move the runtime client to your desired location within the master form.

TIP!

A master form cannot be referenced by its name.

Methods

None.

See Also

Assigning a Master Form to a project | About Master Forms | Content Placeholder object

Applies To

App object


© 2004-2021 looksoftware. All rights reserved.