LISTBUTTON Mnemonic - Create a List Button Control


For this topic's original documentation, see LISTBUTTON Mnemonic - Create a List Button Control.

BBj-Specific Information

The height parameter is ignored in BBj. The height of the drop down list is controlled internally. The maximum number of items to display can be set using the BBjListButton or BBjListEdit method setMaximumRowCount(int max).

In BBj 5.0 and higher, typing into a LISTBUTTON control accumulates the keystrokes entered within a specified time window into a typeahead buffer. This allows the user, for example, to jump directly to New York in a list of all 50 states by typing NY. Without this typeahead buffer, the user would have to press "N" eight times to skip past the other state codes beginning with "N." The default time window for this feature is 1000 milliseconds (1 second). The !LISTSEARCH global overrides that timeout value; a setting of zero effectively disables this buffer.

set !LISTSEARCH=0

See Also

Mnemonics - Alphabetical Listing

Mnemonics - Group Listing