Topic: [Script] - Short guide to add icons to your menus
Hello all MVD fans,
Aaaaaaaaah, that was a huge step forward when Dmitry showed us how to hide the standard menu and add our own instead. But I found the menu alone a bit boring so I decided to add icons to them !
The attached project shows how to do that and, as usual, code is fully commented.
Keep in mind that the MainMenu (TMenu) is already created when you launch your application (we have hidden the default items). All what we create are SubMenus (TMenuItem) that we then add to it.
Also, I used bitmaps with a grey background to match the default color of the menu. I seam to have problems with PNG and transparency
Finally, I added an example (for the beginners) on how to create a 4 levels menu.
Have fun
Cheers
Mathias
Each time I get a divorce, I keep the house
Zaza Gabor