Field_SetStringProperty()

Examples


The Field_SetStringProperty() function sets a specified string property for a field.

Syntax

Field_SetStringProperty(field_name, property, value)

Parameters

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:

[spacer]

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.

Return value

A boolean indicating whether the property was set. True indicates the property was set, while false indicates it was not.


Documentation Feedback