Programming Guide : 4. Working with Classes : How You Can Create Fields from User Classes
 
Share this page                  
How You Can Create Fields from User Classes
You can create fields that correspond to the simple attributes of a user class. In the Frame Editor, click Insert, Fields from User Class. A pop-up window lets you select a user class from those defined in your application. You can also specify whether you want to create simple fields or a table field. Once you select a user class, the Frame Editor lets you place the new field or fields on the frame. If the user class contains both simple attributes and attributes that are objects, fields are created only for the simple attributes.
If the data type of a composite field (except tablefield) is set to be a user class, the displayed values of the fields in the composite field can be modified by changing the value of the underlying user class object—if the Updfield method is called on the field. However, setting the underlying user class object to NULL does not change the display.