Enable, Disable, Select Tab on Form using scripting
You can now programmatically Enable, Disable and Select a tab on the form. The generic syntax is:
Code
form.EnableTab(integer);
form.DisableTab(integer);
form.SelectTab(integer);
where interger represents…
Handling the BusyChanged event for controls
Each control exposes a "BusyChanged" event which is raised when the controls starts loading data (for example for comboboxes, radiobuttons, checkboxes) and when loading completes.
The event provides a boolean parameter indicating if the loading…
Handling the AttachmentsLoaded event
The "form" object available from script, exposes a specific event that is raised after the item attachments are loaded.
The event is called "AttachmentsLoaded" and provide a list of the available item attachments. For each attachment, the…
Include custom javascript in the form
Sometimes we need to have a common function that must be called from several controls. For this purpose there is a new category in the scripts section called 'Includes'. In this section you can write either javascripts that will be added in…
Calling a web service programmatically
Here is an example of calling a web service client-side from a Button control within a form.
The first thing we have to do is to create the web service call in Web Services section. In our example we will demonstrate one of the default…
Handling the Value-Change event of controls
There is a special section in the control properties dialog where users can write the client-side script that will be executed when the value for that control changes.
All the available methods and properties of the "form" object or the individual…
