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
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Warning
From version 24 (75), AssistedInputParameter is kept for backward compatibility. This function has been replaced with AssistedInputConfigure.
Specifies how to open and filter the autocomplete suggestion list.
Example
AssistedInputDeleteAll(SAI_Direction)
AssistedInputAdd(SAI_Direction, "Gauche")
AssistedInputAdd(SAI_Direction, "Droite")
AssistedInputAdd(SAI_Direction, "Centre")

// Pour désactiver le filtre 
AssistedInputConfigure(SAI_Direction, aiFilter, filterNone)

// Activer le filtre "Contient" qui s'appliquera à chaque frappe 
// sur les 3 valeurs précédemment ajoutées
AssistedInputConfigure(SAI_Direction, aiFilter, filterContains)

// La saisie assistée ne s'ouvrira qu'au prochain appel à la fonction SaisieAssistéeOuvre
AssistedInputConfigure(SAI_Direction, aiAutomaticOpening, False)
AssistedInputOpen(SAI_Direction)
Syntax
AssistedInputConfigure(<Edit control> , <Parameter> , <Value>)
<Edit control>: Control name
Name of the Edit control to be used. The "Assisted input based on data binding" option is automatically enabled on this control ("Details" tab of the control description window).
<Parameter>: Integer constant
Parameter to modify:
aiDelayTime before triggering the autocomplete feature. This time is expressed in milliseconds. By default, the time is set to 200 milliseconds.
WINDEV This constant is not available.
aiFilterFilter applied to the input suggestions. The "Starts with" filter is used by default.
This filter can correspond to one of the following values:
filterContains"Contains" filter.
filterDifferent"Is different from" filter.
WINDEV This constant is not available.
filterDoesNotContain"Does not contain" filter.
WINDEV This constant is not available.
filterDoesNotEndWith"Does not end with" filter.
WINDEV This constant is not available.
filterDoesNotStartWith"Does not start with" filter.
WINDEV This constant is not available.
filterEndsWith"Ends with" filter.
WINDEV This constant is not available.
filterEqual"Is equal to" filter.
WINDEV This constant is not available.
filterGreater"Is greater than" filter.
WINDEV This constant is not available.
filterGreaterOrEqual"Is greater than or equal to" filter.
WINDEV This constant is not available.
filterLess"Is less than" filter.
WINDEV This constant is not available.
filterLessOrEqual"Is less than or equal to" filter.
WINDEV This constant is not available.
filterNoneDisables the automatic filter used on the autocomplete suggestion list. The filter must be applied manually.
filterStartsWith"Starts with" filter.
aiWidthListBoxWidth of the suggestion list (expressed in pixels). By default, this width corresponds to the width of the input area.
aiAutomaticOpeningConfigures the automatic opening of the list of options:
  • True to open the list automatically,
  • False to not open the list automatically. in this case, the list can be opened with AssistedInputOpen.
By default, the list opens automatically.
aiNoCaseTaking the case and the accented characters into account:
  • True to ignore both case and accents.
  • False to take case and accents into account.
By default, both case and accents are ignored.
aiMinSizeNumber of characters typed before opening the suggestion list. By default, the suggestion list opens as soon as the user types the first character.
<Value>: Type corresponding to the value to modify
New parameter value.
Remarks
  • If AssistedInputConfigure is called on a edit control, the option "Assisted input based on data binding" is automatically enabled on this control ("Details" tab of the control description window).
  • The suggestion list does not open immediately. You need:
    • the user must type a value that matches the first characters of one of the suggestions,
    • the AssistedInputOpen function must be called.
  • If the Edit control is linked to a data file:
    • only the default filter ("Starts with") is available.
    • the bound item in the data source must be key (faster iteration).
Related Examples:
Photo_Gallery Complete examples (WEBDEV): Photo_Gallery
[ + ] This example is a photo gallery site and is composed of 2 main parts:
- the "visitor" part,
- the administration part.  
 
These are some of the available features:
- organize photos via albums
- include links to social networks
- enable users to comment on posts
- user login via WEBDEV'S GPU
- contact form
- ability to upload, describe, and classify photos via albums on the administration side
Business / UI classification: UI Code
Component: wd300obj.dll
Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/28/2025

Send a report | Local help