The Field_SetIntegerProperty() function sets a specified integer property for a field.
Field_SetIntegerProperty(field_name, property, value)
• field_name – The name of a window field.
• property – An integer constant indicating the property to set. The value corresponds to one of the following constants:
Constant |
Description/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 for the push button. The possible values correspond 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 |
• value – An integer value indicating how to set the property. Refer to the preceding table.
A boolean indicating whether the property was set. True indicates the property was set, while false indicates it was not.