EndSubMenuLevel Property

Specifies the last item in a submenu.

See Also

Signature

object.EndSubMenuLevel

object

PopupMenuItem
The object or objects this property applies to.

EndSubMenuLevel

Integer; read-write
The number of menu levels this menu item terminates.

Remarks

The default value for this property is zero (0), specifying that this menu item is not the last item in the submenu.

A value of one (1) indicates that this item is the last item in a submenu. A value of two (2) indicates that this item is the last item of a submenu and also of its parent menu. This value should be incremented for each parent menu for which this item terminates.

 

   Comments?