Changing Custom Menus and Toolbars at Runtime
At runtime, the custom drop-down and right click menus or toolbars for any of the form modes ( View, Query by Form, and Find by Form ), or for a browse can be dynamically changed by setting the appropriate form or object property. For example, to change the drop down menu for a form called "Customers" to "menu2", you would execute the following Xbasic command:
:Customers.drop_down_menu = "menu2"
The table below lists the various properties that you can set to control the menus and toolbars for form and browse windows.
Main menu for the window when in View mode.
Main menu for Find by Form mode.
Right click menu in Find by Form mode.
Toolbar for Find by Form mode.
Main menu for Query by Form mode.
Right click menu for Query by Form mode
Toolbar for Query by Form mode
Right click menu for the form or browse window.
Toolbar for the form or browse window.