the standard switchboard works by reading items from switchboard items table, corresponding to the active page number.
the default is page 1
now if you need a new menu, say menu 2, create an item in the switchboard items table
menu 1, item 2, description "Second Menu", action 1, and an argument 2
action 1 means jump to menu
argument 2 means select menu 2
the switchboard code then tries to reread any menu items for page 2
basic commands are
action 0 - nothing (a menu header)
action 1 - goto menu
action 3 - open form, general mode
action 6 - exit application
other actions are open report. open form in add mode etc - i tend to only use the above
after you get used to it its easier to edit the switchboard items table directly
-----
for normal purposes, you should never have to program or edit any of the button or label click commands
i find 8 buttons a bit limiting, and i do add extra buttons, to give me 17 normally, 2 columns of 8, and a return to previous menu - if you follow it thorugh its just copying buttons, and editing some bits in the switchboard code to change the number of buttons from 8
------
note you have to have a menu item 1 on each page, or the display gets messed up.
i