BlitzUI checked menu icons?
Community Forums/Showcase/BlitzUI checked menu icons?
| ||
I've tried using an image file name and a loaded image handle for a checked menu item and only get the standard 'checkbox/radiobox' image to display. However, the custom loaded image works for regular menu items. Is there a way to use a custom graphic for checked menu items? |
| ||
It was designed that way... it doesn't make sense to allow a checked menu item to have an icon. |
| ||
It makes sense if you want to use a custom graphic instead of the default checkbox, lol! But thanks for the reponse, BlitzUI is a great tool and is much appreciated. |
| ||
That's actually a good idea Tranz, I never thought of that :) If you want to add that feature it's fairly simple to do: 1. Open blitzui.bb 2. Use Edit > Find to find the following line (There is only one occurance of this line): If gad\Icon <> 0 And gad\AllowCheck = False3. Replace it with: If gad\Icon <> 0 And (gad\AllowCheck = False or (gad\AllowCheck = true and gad\Checked = true))4. Look a few lines down and replace: If gad\AllowCheck = Truewith If gad\AllowCheck = True and gad\Icon = 0Let me know how it goes. |
| ||
Yes, that's got it! Works perfectly now. Thanks much. I just wanted to use an actual check mark graphic that I made instead of the little square. It's an original graphic, but still fits in with the rest of the GUI. Here's a small pic: ![]() (GEOCITES doesn't allow linking, but you should be able to cut & paste the URL into a browser.) |