Suggest property

Official Content
This documentation is valid for:
The Suggest property applies to Edit controls. Enabling the Suggest property in an Edit control will cause a list of possible values for that control to be displayed when entering data. The Suggest property can be enabled over Edit controls themselves or over attributes. If it is applied to an attribute, the Suggest property will be enabled by default everywhere the attribute is used.

Values

No No suggestion list is shown
OnRequest The user manually makes a request to calculate suggestions
Incremental The list is updated as the user enters data

Description

The Suggest property applies to Edit controls and can be used in transactions (attributes) as well as in Web and Work panels (variables). Enabling the Suggest property in an Edit control will cause a list of possible values for that control to be displayed when entering data. The suggestions list can be calculated in an incremental way (the list is updated as the user enters data), or by making requests (the user manually makes a request to calculate suggestions). The list updates are asynchronous and calculation times depend on the quality of the connection.

The Suggest property can be enabled over Edit controls themselves or over attributes. If it is applied to an attribute, the Suggest property will be enabled by default everywhere the attribute is used. On the other hand, the suggest property can be only used over char or varchar attribute or variables., otherwise the following specification error will be shown:

spc0112 ("Item value %1 for control %2 must be Character data type or VarChar data type")

This property is independent of the InputType property. However, it is advisable to read the InputType property documentation first because using both properties will make it easier to create friendly user interfaces. Read more information about how these features can work together.

Conditions property with "WHEN" clause is not supported yet.

Run-time/Design-time

This property applies only at design-time.

How to apply changes

To apply changes made by this property, do a Build with this Only of the object.

Availability

This property is available since GeneXus X Evolution 3 Release Notes.

Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.