The Field_SetStringProperty() function sets a specified string property for a field.
Field_SetStringProperty(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 |
---|---|
FIELD_PROP_AUTOCOMPLETE_LOOKUP_ITEM |
For auto-complete fields that have a linked-lookup button, specifies the text to display for the auto-complete item that opens the lookup. |
FIELD_PROP_CAPTION |
The caption to use for the field. |
• value – A string value indicating how to set the property.
A boolean indicating whether the property was set. True indicates the property was set, while false indicates it was not.