Views User Guides > Foundation > Script Programming > Guidelines for Developing Scriptable Applications
Guidelines for Developing Scriptable Applications
To create a new scriptable Views application or make an existing application scriptable, follow these guidelines:
1. Use an object of the class IlvApplication, or of a derived class, as your application’s root object. Once your IlvApplication object is created, bind it using the name Application.
2. Add all the panels to the IlvApplication object so that they can be accessed from the Application object in Script for Views.
3. After creating IlvDisplay, initialize the Script for Views auxiliary library using the following code:
IlvJvScriptLanguage::InitAuxiliaryLib(appli->getDisplay());
Initialization is required when you want to use the IlvCommonDialog object or create IlvPoint, IlvRect, or IlvGadgetContainer objects in Script for Views.
Published date: 05/24/2022
Last modified date: 02/24/2022