property ExMenu.OpenOnClick as OpenOnClickEnum
Sets or gets a value that indicates the way how the user opens the menus, using the mouse.

TypeDescription
OpenOnClickEnum An OpenOnClickEnum expression that specifies the way how the user opens the menus, using the mouse.

The OpenOnClick property specifies the way the user opens the menus. By default, the OpenOnClick property is exClickMenuBar, and so any popup menu is opened when the user clicks the menu bar . If the OpenOnClick property is exHoverMenuBar,  the sub menu is opened once that the cursor hovers the item, in the menu bar. Use the OpenMode property to specify how the drop down menu is shown. The control fires the Select event when the user selects an item.