JR,
I also linked the database icon to the main menu "Help" and "Show Help".
I see the following differences in "Show Help" compared to the main menu line.
The icon is displayed larger and can be displayed or suppressed via Checklist.
Apparently the icon collides with the checklist checkmark here.
I can think of two uses of icons in menus:
1.) The complete entry is displayed as a bitmap like in mystical games.
2.) The icon is assigned to the text as additional information like in selection lists in Word.
I assume that the second variant should be implemented here, but a separate space should then be reserved for the checklist tick.
Scout
menuList["File"] = "Main"
menuList["Open"] = "File"
menuList["-"] = "File"
menuList["Exit"] = "File"
menuList["Help"] = "Main"
menuList["Show Help"] = "Help"
iconList["File"]= Program.Directory + "\database.jpg"
iconList["Help"]= Program.Directory + "\database.jpg"
iconList["Show Help"]= Program.Directory + "\database.jpg"
checkList["Show Help"] = "True"
'checkList["Show Help"] = "False"
menu = LDControls.AddMenu(GraphicsWindow.Width,20,menuList,iconList,checklist)
LDShapes.BrushColour(menu,LDColours.AliceBlue)
LDShapes.PenColour(menu,"Black")
I also linked the database icon to the main menu "Help" and "Show Help".
I see the following differences in "Show Help" compared to the main menu line.
The icon is displayed larger and can be displayed or suppressed via Checklist.
Apparently the icon collides with the checklist checkmark here.
I can think of two uses of icons in menus:
1.) The complete entry is displayed as a bitmap like in mystical games.
2.) The icon is assigned to the text as additional information like in selection lists in Word.
I assume that the second variant should be implemented here, but a separate space should then be reserved for the checklist tick.
Scout
menuList["File"] = "Main"
menuList["Open"] = "File"
menuList["-"] = "File"
menuList["Exit"] = "File"
menuList["Help"] = "Main"
menuList["Show Help"] = "Help"
iconList["File"]= Program.Directory + "\database.jpg"
iconList["Help"]= Program.Directory + "\database.jpg"
iconList["Show Help"]= Program.Directory + "\database.jpg"
checkList["Show Help"] = "True"
'checkList["Show Help"] = "False"
menu = LDControls.AddMenu(GraphicsWindow.Width,20,menuList,iconList,checklist)
LDShapes.BrushColour(menu,LDColours.AliceBlue)
LDShapes.PenColour(menu,"Black")