skip to main content
OpenEdge Development: ADM Reference
Field Objects and Their Methods and Properties : Base methods for field objects
 
Base methods for field objects
The field methods support Smart technology at the field level. With these methods you can create SmartDataFields the support a wide variety of different visualizations.
initializeObject
The procedure generates special code for initializing SmartDataFields.
Location: field.p
Parameters: None
Note: This procedure stores the procedure handle of the SmartDataField in the PRIVATE-DATA of its Frame, in order that the procedure can be located from the frame. It also adds itself to the DisplayedFields property of its containing SmartDataViewer if the DisplayField logical property is TRUE, and, if EnableField is TRUE, to the EnabledFields property as well.
resizeObject
Procedure that resizes the field by looping through all fields in the Frame and resizing any that do not have ‘NO-RESIZE’ in the PRIVATE-DATA property.
Location: field.p
Parameters:  
INPUT pidHeight AS DECIMAL
New height.
INPUT pidWidth AS DECIMAL
New width.
Note: No resizing is done by default. For this you need to create an override procedure in your SmartDataField with your own code, specific to your SmartDataField.