March 29, 2024, 01:46:39 AM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


Taskbars - I mean Toolbars

Started by Brian, September 30, 2019, 04:03:08 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Brian

September 30, 2019, 04:03:08 AM Last Edit: October 02, 2019, 03:11:20 AM by Brian
I was looking through the forum, and I saw this code posted by Sam quite a while ago for Toolbars. In his version, it allowed you to use bitmaps or icons, depending on what you had on hand

I decided to split the code into two separate files, one for bitmaps and one for icons. You can load buttons one at a time, which means you don't need to create one large bitmap for the taskbar

I noticed that if you use bitmaps, they have to be 8-bit. If you use icons, they can be 32-bit, which makes for a more pleasing look. Currently, only the 'Exit' button has the code to make it work

One thing - I couldn't figure out how to add Tooltips for each of the buttons. Maybe someone will put me straight. Just put all the files into one folder to compile

Brian