AutoFill: Add auto filling feature to a TextBox Control.

 

 

 

- Usage: Build an array for words to filling in TextBox entry

              - Specify  AutoFill() as ONCHANGE    procedure of TextBox

              - Specify  AFKeySet() as ONGOTFOCUS  procedure of TextBox

              - Specify  AFKeyRls() as ONLOSTFOCUS procedure of TextBox

 

 

- Example:

 

     aCountries := {"Afghanistan", "Albania", "Algeria", "Andorra", "Angola", ... }

    

     ASORT( aCountries )   // This Array MUST be sorted

     

 

     DEFINE TEXTBOX TextBoxCountries

ROW         48

COL         110

ONCHANGE    AutoFill( aCountries )

ONGOTFOCUS  AFKeySet( aCountries )

ONLOSTFOCUS AFKeyRls( )

END TEXTBOX

 

 

 

Authors:

 

Started by B. Esgici <esgici@gmail.com>

            

Enhanced by Roberto Lopez <mail.box.hmg@gmail.com> and S. Rathinagiri <srgiri@dataone.in>