3. Getting Started Using OpenROAD : Simple Client Applications : How You Can Create a Simple Object-Oriented Application : Bind a User Class to a Composite Field
 
Share this page                  
Bind a User Class to a Composite Field
In this procedure, you will bind the user class ProjectObject to the matrix field, project.
You must have the ProjectFrame user frame opened from the previous procedure, Write the Class Script. The matrix field, project, should be selected.
To bind the user class to the matrix field
1. Scroll to DataType in the Property Inspector and click the property.
A dialog appears.
2. Click the Reference option.
The dialog changes.
3. Click List Classes.
The Select a Class dialog appears.
4. Click projectapp1 in the Application list.
5. Click projectobject in the User Class list.
6. Click OK to close the Select a Class dialog.
7. Click OK to close the Data Type dialog.
The project matrix field now uses the ProjectObject class as its data type.
Leave the frame open. You can now call the user class methods in your frame script.