Menu page
The menu page is an extension of menu bar, with the added feature that it handles page swapping automatically as you click between menu items. You will need to prepare some empty containers for each page, then assign each menu to a new container.
Stacks Image 16
Example code
me.AddMenuItem "Home", 0,color.LightGray 'If you dont pass a page it won't display one
me.AddMenuItem "Menus", 241,color.LightGray, new Menus
me.AddMenuItem "Widgets", 663,color.LightGray, new Widgets ,color.Purple
me.AddMenuItem "Dynamic textures", 223,color.LightGray, new Dynamic_Textures ,color.white
me.AddMenuItem "List boxes", 45,color.LightGray, new List_boxes
me.AddMenuItem "Custom fonts", 158,color.LightGray, new Custom_fonts
me.AddMenuItem "Communication", 1253,color.LightGray, new Communication
me.AddMenuItem "Email", 873,color.LightGray, new EmailPage
me.AddMenuItem "Validation", 406,color.LightGray, new ValidationPage
me.AddMenuItem "Picture Icons", 536,color.LightGray, new Picture_IconsPage
me.AddMenuItem "Random font", 158,color.LightGray
me.AddMenuItem "Database", 349,color.LightGray, new DatabasePage
me.AddMenuItem "Two factor auth", 610,color.LightGray, new TwoFactorPage
me.AddMenuItem "Edit language set", 1135,color.LightGray
me.AddMenuItem "Unicode icons", 1269,color.LightGray, new UnicodePage
me.AddMenuItem "Icon set", 143,color.LightGray, new IconsPage
Notes
Menu bars can be used for dropdown menus by adding them as invisible containers which other menus enable and disable.
Properties
Menu Back Colour
Color
Colour of menu back
Wheel scroll
Boolean
Enables or disables mouse scroll
Icon Colour
Color
Default icon colour
Menu style
Integer
Built in styles

Methods
AddMenuItem
name as string, optional iconumber as integer = 0, optional textcolour as color = &ca0a0a0, optional iconcolour as color = &c000000
Adds a menu item
AddMenuTitle
name as string, textcolour as color
Adds a menu title

Events
Cryptic_MenuSelected
String
Returns the menu name selected