You can open a menu using a clickable object. The MenuFocusable property, which applies only to Menu controls, determines whether the focus stays on a clicked item or the menu.
menuname.MenuFocusable
menuname.MenuFocusable = {value}
Parameter | Description |
---|---|
value | Specifies the default behavior of the menu's focus.
|
In the Menu painter, Properties view, Appearance group, select the menu control and set the value.
You can also set the property in a script.
m_genapp_sheet.MenuFocusable = true