14. Creating a Frame at Runtime : How You Can Build a Frame Dynamically : refvariable = Class.Create() : refvariable = Class.Create() : refvariable = Class.Create()
 
Share this page                  
refvariable = Class.Create()
refvariable
Specifies a return variable that must have been declared as the same class as Class or one of its superclasses. For example, if you want to create an entry field, you must first declare the reference variable that points to the object:
field_ptr = EntryField;
Then you can use the following statement to create the actual object:
field_ptr = EntryField.Create();
Class
Specifies the class of the object that you want to create