Field_GetIntegerProperty()

Examples


The Field_GetIntegerProperty() function retrieves a specified integer property for a field.

Syntax

Field_GetIntegerProperty(field_name, property)

Parameters

field_name – The name of a window field.

property – An integer constant indicating the property to retrieve. The value corresponds to one of the following constants:

[spacer]

Constant

Description/Return values

FIELD_PROP_BDL_DROP_POS_X

Specifies the distance in pixels the drop indicator will be drawn from the right edge of the control.

FIELD_PROP_BDL_DROP_POS_Y

Specifies the distance in pixels the drop indicator will be drawn from the bottom edge of the control.

FIELD_PROP_BUTTON_STYLE

Indicates the style used for the push button. The value returned by the function corresponds to one of the following constants:

BUTTON_STYLE_TEXT_ONLY

BUTTON_STYLE_TEXT_ON_LEFT

BUTTON_STYLE_TEXT_ON_RIGHT

BUTTON_STYLE_TEXT_ON_TOP

BUTTON_STYLE_TEXT_ON_BOTTOM

BUTTON_STYLE_GRAPHIC_ONLY


Return value

An integer specifying how the field was set. Refer to the preceding table for a list of integer properties and their corresponding values.


Documentation Feedback