|Navigation: Templates > Guide to all Templates > Control Templates >====== Browse Select button control template ======|
The BrowseSelectButton template provides Select button to choose a record from a list box.
The generated source code gets the currently selected record from the list (makes the selected record the current one in the browsed file's record buffer), and closes down the procedure. For the end user, pressing the Select button is equivalent to double-clicking an item in the list.
The BrowseSelectButton template provides the following prompts:
Hide the Select button when not applicable
Check this box to hide the Select button when the procedure is not called for selection purposes (GlobalRequest <;> SelectRecord).
Allow Select via Popup
Check this box to allow record selection with a RIGHT-CLICK popup menu. The template adds a popup menu item whose text matches the text on the Select button. The menu item is disabled when the Select button is disabled or hidden.