GetItems(returns number of popup entries)

Top  Previous  Next



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


      IF Popup.GetItems() ! Only if there are previous items.