getitems_returns_number_of_popup_entries_.htm
Navigation: ABC Library Reference > PopupClass > PopupClass Methods >====== GetItems(returns number of popup entries) ====== | |
GetItems(onlyitems)
The GetItems method returns the number of entries that exist in the current active popup menu.
The onlyitems parameter (DEFAULT=0) specifies that only the number of popup items is returned. If non-zero, GetItems also returns the depth (nested) levels of the popup menu.
Return Data Type: SHORT
Example:
IF Popup.GetItems() ! Only if there are previous items.
Popup.AddItem('-','Separator1',Popup.GetItems(),1)
END
getitems_returns_number_of_popup_entries_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1