Skip to content

OnInitMenu - PopupMenu

Sent when a PopupMenu object is about to be selected

Type: Event

Syntax

Procedure OnInitMenu

Description

The OnInitMenu event message is sent when a PopupMenu object is about to be selected. This is a powerful augmentation point. You can use this to set shadow states, set select states, and even build entire new menu-item structures.