ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Input suggestion functions
  • Properties specific to AssistedInput variables
  • Using AssistedInput variables
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The AssistedInput type allows you to define all the advanced characteristics of an autocomplete suggestion. The characteristics of this suggestion can be defined and changed using different WLanguage properties.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
// Add a suggestion
_AutocompleteSuggestion is AssistedInput
_AutocompleteSuggestion.Caption = "Alpharetta, GA 30022"
_AutocompleteSuggestion.StoredValue = 30022
AssistedInputAdd(EDT_PostalCode, _AutocompleteSuggestion)

// -- Event "Select a value in the list of input suggestions"
PROCÉDURE Selection(MySelection is AssistedInput)
EDT_PostalCode = MySelection.StoredValue
Properties

Properties specific to AssistedInput variables

The following properties can be used to handle autocomplete suggestions:
Property nameType usedEffect
CaptionCharacter stringText displayed in the autocomplete suggestion.
StoredValueAll typesValue stored for the autocomplete suggestion. The developer can use this value to store information.
Remarks

Using AssistedInput variables

An AssistedInput variable can be:
  • used with AssistedInputAdd.
  • passed as parameter in the "Select a value in the list of input suggestions" event.
Minimum version required
  • Version 28
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 02/02/2023

Send a report | Local help