GENERATED: MAR 31,2012 - 3:31PM
Autocomplete Dropdown Example [V8.01.00]

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 AACHTControlPanel - CHT Global Control Panel.
(0002) ApplicationImagesEx(HNDTools) 1 ApplicationImagesEx - A tool to better control the use of images and icons in your application.
(0003) HNDCMPControlPanel(HNDTools) 1 HNDCMPControlPanel - Interface to the CHT Compile Manager.
(0004) HandyVersionResource(HNDTools) 1 HandyVersionResource - Version Resource/Build Number Information To EXE
(0005) INIFile(HNDTools) 1 INIFile - Attach CHT .INI FIle and Registry extension classes - HNDIni - globally to your application.
(0006) VblFileNames(HNDTools) 1 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 BrowselessEditForm - File edit without using a browse.
(0008) CancelButton(ABC) 1 Cancel the Current Operation
(0009) EmbedWindowFunctions(HNDTools) 1 EmbedWindowFunctions - An Instance Of:
(0010) FormVCRControls(ABC) 1 Allow Form to be driven by Toolbar VCR Controls
(0011) HandyFieldAutoCompleteControl(HNDTools) 1 HandyFieldAutoCompleteControl - Create a CHT autocomplete lookup control on your update form.(6)
(0012) HandyHelpFileFetch(HNDTools) 3 HandyHelpFileFetch - Build A Help File Request To Your Website.(11)
(0013) ProcedureImagesEx(HNDTools) 1 ProcedureImagesEx - A tool to better control the use of images and icons in your procedure.
(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 ProcedureImagesEx - A tool to better control the use of images and icons in your procedure.
(2) Local Templates Found In Main

3 - Procedure Template Type: Splash
JumpStartSplashCHTBlue ()
Count Local Template Name Qty Local Template Description
(0018) AppBuildDateTimeStamp(HNDTools) 1 AppBuildDateTimeStamp - An application build date/time stamp.
(0019) AppBuildNumberStamp(HNDTools) 1 AppBuildNumberStamp - An application build number or version stamp.
(0020) AppCopyRightStamp(HNDTools) 1 AppCopyRightStamp - An application copyright stamp.
(0021) HandyTellMeControl(HNDTools) 1 HandyTellMeControl - Text box control to provide a message or help text.
(0022) ProcedureImagesEx(HNDTools) 1 ProcedureImagesEx - A tool to better control the use of images and icons in your procedure.
(5) Local Templates Found In JumpStartSplashCHTBlue

Copyright © 1996-2012
Gus M. Creces and The Clarion Handy Tools Page.
All Rights Reserved Worldwide

chtlogo001.gif Templates In Application: HNDDROPDOWN.APP