User Tools

Site Tools


getlastselection_return_selected_item_.htm
Navigation:  ABC Library Reference > PopupClass > PopupClass Methods >====== GetLastSelection (return selected item) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

GetLastSelection

blk2blue.jpg

The **GetLastSelection **method returns the name of the last selected item.

The AddItem, AddItemMimic, AddMenu, or AddSubMenu method sets the item name.

**Return Data Type: **STRING

Example:

MenuChoices EQUATE('Fred|Barney|Wilma')  !declare menu definition string

** CODE**

** PopupMgr.AddMenu(MenuChoices)           !add Popup menu**

** !program code**

** PopupMgr.Ask()                          !display menu**

** MESSAGE('Thank you for choosing '&PopupMgr.GetLastSelection)**

**See Also:     **AddItem, AddItemMimic, AddMenu, AddSubMenu

getlastselection_return_selected_item_.htm.txt · Last modified: by 127.0.0.1