Example: ajax_autocomplete
These examples show the three uses of ajax_autocomplete.
Setting a value
ajax_autocomplete ("Autocomplete_1", "Snapshot=t1.inf", DESCRIPTION, "Framework=atlas", "ID=myTextBox1", ACTION, "UserAction=Set", "Value=abc", LAST );
Entering a text, then selecting an item from the list
ajax_autocomplete ("Autocomplete_2", "Snapshot=t2.inf", DESCRIPTION, "Framework=atlas", "ID=myTextBox1", ACTION, "UserAction=Select", "Value=abc1", "SelectByText=abc1234", LAST );
Selecting the third item that matches the entered text
ajax_autocomplete ("Autocomplete_3", DESCRIPTION, "Framework=atlas", "ID=myTextBox1", ACTION, "UserAction=Select", "SelectByOrdinal=5", "Value=123", LAST );