|
|
|
|
<Edit>.AddAssistedInput (Function) In french: <Saisie>.AjouteSaisieAssistée Adds a row to the list of values available in the autocomplete suggestions of an Edit control. EDT_Direction.DeleteAllAssistedInput() EDT_Direction.AddAssistedInput("Left") EDT_Direction.AddAssistedInput("Left to the top") EDT_Direction.AddAssistedInput("Left to the bottom") EDT_Direction.AddAssistedInput("Right") EDT_Direction.AddAssistedInput("Right to the top") EDT_Direction.AddAssistedInput("Right to the bottom") EDT_Direction.AddAssistedInput("Center") EDT_Direction.OpenAssistedInput()
Syntax
Adding a row to the list of values available in the autocomplete suggestions Hide the details
<Result> = <Edit control>.AddAssistedInput(<Text> [, <Stored value>])
<Result>: Integer Number of the added row. <Edit control>: Control name Name of the edit control to use. <Text>: Character string Value that must be added to the autocomplete suggestions. <Stored value>: Type of value Stored value associated with the added value.
Adding a row (AssistedInput variable) to the list of available values Hide the details
<Result> = <Edit control>.AddAssistedInput(<Autocomplete suggestion>)
<Result>: Integer Number of the added row. <Edit control>: Control name Name of the edit control to use. <Autocomplete suggestion>: AssistedInput variable Name of the AssistedInput variable containing the details of the autocomplete suggestion to be added. Remarks To open the list with the different options: - the user can enter a value in the edit control (starting with the letters of one of the available options).
- programmatically, you can use <Edit>.OpenAssistedInput. It is recommended to filter the list of values and to open it from the "Whenever modified" event of the edit control.
Related Examples:
|
Complete examples (WEBDEV): Photo_Gallery
[ + ] This example is a photo gallery site and is composed of 2 main parts: - the "visitor" part, developed in Active WEBDEV Page mode and SEO-compatible. - the administration part, secured and developed in standard WEBDEV mode. 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
|
|
Unit examples (WINDEV): The AssistedInput functions
[ + ] Using the WLanguage AssistedInput functions. These functions are used to easily implement an assisted input on the controls.
|
Business / UI classification: UI Code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|