PopupMenu.hits Method [AX 2012]

Returns the number of items in the pop-up menu.

public int hits()

Run On

Client

Return Value

Type: int
The number of items in the pop-up menu.

Will only return the value for the outmost parent of pop-up menus. It will return zero for all children.

Community Additions

ADD
Show: