ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Input suggestion functions
  • Properties specific to AssistedInput variables
  • Using AssistedInput variables
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The AssistedInput type allows you to define all the advanced characteristics of an autocomplete suggestion. The characteristics of this line can be defined and modified using various WLanguage properties.
Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
// Ajout d'une ligne
_sa is AssistedInput
_sa.Caption = "34300(Agde)"
_sa.StoredValue = 343300
AssistedInputAdd(SAI_CP, _sa)

// -- Evénement "Sélection d'une valeur dans la liste de saisie assistée"
PROCEDURE Sélection(MaSélection is AssistedInput)
SAI_CP = MaSélection.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: 09/19/2024

Send a report | Local help