GENERATED: JUL 10,2017 - 11:18PM
Autocomplete Dropdown Example [V10.17.05.0216]

Previous Page
This application demonstrates the use of a Clarion Handy Tools Template called HandyFieldAutoCompleteControl. This is a control template that autocompletes a form field from values already available in another file.

In this case, we're autocompleting a "State Name" field from a file called hndstatesnew.tps. By simply typing 3 or 4 letters into this field a dropdown appears which displays the closest matches for the typed value. By continuing to type beyond 4 characters a matching value is brought into your autocomplete control.

Alternatively, with the down arrow key, you can scroll down into the dropdown control to select one of the values that appear there.

Adding to the autocomplete file: If you type a unique value and press CtrlEnter, the entered value is added to the autocomplete source file.

Deleting from the autocomplete file: If you bring an existing value from the autocomplete file into the autocomplete entry control and press CtrlDelete you are able to delete a value from the autocomplete source file.

The Clarion Handy Tools Page

Count Global Template Name Qty Global Template Description
(0001) AACHTControlPanel(HNDTools) 1 CHT AACHTControlPanel - Global Control Panel.
(0002) ApplicationImagesEx(HNDTools) 1 CHT ApplicationImagesEx - Application Styling System
(0003) HNDCMPControlPanel(HNDTools) 1 CHT HNDCMPControlPanel - Interface to the CHT Compile Manager.
(0004) HandyVersionResource(HNDTools) 1 CHT HandyVersionResource - Version Resource/Build Number Information To EXE
(0005) INIFile(HNDTools) 1 CHT INIFile - .INI FIle and Registry extension classes - HNDIni - globally to your application.
(0006) VblFileNames(HNDTools) 1 CHT VblFileNames - Incorporate variable file names and defaults into your app from the dictionary.
(6) Global Templates Found

1 - Procedure Template Type: Window
AutoCompleteExample ()
Count Local Template Name Qty Local Template Description
(0007) BrowselessEditForm(HNDTools) 1 CHT BrowselessEditForm - File edit without using a browse.
(0008) CancelButton(ABC) 1 Cancel the Current Operation
(0009) EmbedWindowFunctions(HNDTools) 1 CHT EmbedWindowFunctions - An Instance Of:
(0010) FormVCRControls(ABC) 1 Allow Form to be driven by Toolbar VCR Controls
(0011) HandyFieldAutoCompleteControl(HNDTools) 1 CHT HandyFieldAutoCompleteControl - Create a CHT autocomplete lookup control on your update form.(6)
(0012) HandyHelpFileFetch(HNDTools) 3 CHT HandyHelpFileFetch - Build A Help File Request To Your Website.(11)
(0013) ProcedureImagesEx(HNDTools) 1 CHT ProcedureImagesEx - Application Styling System
(0014) RecordValidation(ABC) 1 Validate a record against the dictionary
(0015) SaveButton(ABC) 1 Update PeopleNew record on disk
(9) Local Templates Found In AutoCompleteExample

2 - Procedure Template Type: Source
Main ()
Count Local Template Name Qty Local Template Description
(0016) DateTimeDisplay(ABC) 1 Display the date and/or time in the current window
(0017) ProcedureImagesEx(HNDTools) 1 CHT ProcedureImagesEx - Application Styling System
(2) Local Templates Found In Main

3 - Procedure Template Type: Splash
JumpStartSplashCHTBlue ()
Count Local Template Name Qty Local Template Description
(0018) AppBuildDateTimeStamp(HNDTools) 1 CHT AppBuildDateTimeStamp - An application build date/time stamp.
(0019) AppBuildNumberStamp(HNDTools) 1 CHT AppBuildNumberStamp - An application build number or version stamp.
(0020) AppCopyRightStamp(HNDTools) 1 CHT AppCopyRightStamp - An application copyright stamp.
(0021) HandyTellMeControl(HNDTools) 1 CHT HandyTellMeControl - Text box control to provide a message or help text.
(0022) ProcedureImagesEx(HNDTools) 1 CHT ProcedureImagesEx - Application Styling System
(5) Local Templates Found In JumpStartSplashCHTBlue

Copyright © 1996-2017 - CHT Version: [21C.00.00]
Gus M. Creces and The Clarion Handy Tools Page.
All Rights Reserved Worldwide

chtlogo001.gif Templates In Application: HNDDROPDOWN.APP