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 <[email protected]>

Enhanced by Roberto Lopez <[email protected]> and S. Rathinagiri <[email protected]>

results matching ""

    No results matching ""