ScriptPro Editor This topic is for use by scriptwriters who are using ScriptPro Editor to create custom scripts for their agencies. Agents can go to Using ScriptPro Scripts for more information about using custom or standard scripts within Travelport Smartpoint. |
Dialog Box Controls
For a script to run correctly, you must ensure that the script user enters the appropriate type of data into the dialog box's input fields. To accomplish this, use Controls, which prompt the script user for data and audit data entered.
Right click anywhere in the background of the dialog box to display the control types menu.
Control types
Five types of controls exist: Button, Checkbox, Edit, Label, and ListBox. The attributes of each of these controls show once the control is added to the dialog box.
- Button – OK, Abort, Command, OpenFile
- Checkbox
- Edit – text, number, ANSI, multi
- Edit Date
- Label – static text, variable text, image
- ListBox – Listbox, SingleList, MultiList, ComboList, ValidList