Functions

of_init

Description

Scans, analyzes, and registers the controls of the specified window.

Syntax

of_init ( window a_obj )

Return value

1 - success.

of_register (a_obj, as_method)

Description

Specifies the location and the resizing rule of a control in the window by calling the corresponding internal interfaces of the eon_cst_resize object and its functionality is the same as that of the PFC n_cst_resize interface.

Syntax

of_register ( dragobject a_obj, string as_method )

Parameter

Same as that of the PFC n_cst_resize object.

Return value

Same as that of the PFC n_cst_resize object.

of_register (a_component, a_obj, as_method)

Description

Specifies the location and the resizing rule of a control in the tab control.

Syntax

of_register ( userobject a_component, dragobject a_obj, string as_method )

Parameter

a_component - Tab control;

a_obj and as_method are the same as that of the PFC n_cst_resize object.

Return value

Same as that of the PFC n_cst_resize object.

of_zoom

Description

Enables or disables the feature of proportionally resizing the controls within the DataWindow object.

Syntax

of_zoom ( boolean ab_zoom )

Parameter

ab_zoom - When true, it enables the resize feature for controls in the DataWindow object; when false, it disables the feature.

Return value

None.

Usage

To enable the DataWindow resize feature, you will need to call this function before initialization. For example,

inv_resize.of_zoom (true)
inv_resize.of_init (this)