October 31, 2025, 04:57:38 AM

News:

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


Load Toolbar example question

Started by Andy, April 27, 2010, 07:02:27 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andy

Hi everyone,

Sorry to post another question so soon but I do not understand two things about the loadtoolbar example.

1. How does ebasic know each icon in the toolbar.bmp file should be a separate button ?

2. How on earth was the bmp file made in the first place as it contains several images ?

Can anyone explain or help me with this one as I would like to create my own bmp file to use in a toolbar.

Thanks,
Andy.
Day after day, day after day, we struck nor breath nor motion, as idle as a painted ship upon a painted ocean.

LarryMc

Quote from: andy1966 on April 27, 2010, 07:02:27 AM
1. How does ebasic know each icon in the toolbar.bmp file should be a separate button ?
Because it is being used as a toolbar and that is the nature of a toolbar.
Sort of like asking how does ebasic know to center the text in a button.
It is programmed that way.
Quote from: andy1966 on April 27, 2010, 07:02:27 AM
2. How on earth was the bmp file made in the first place as it contains several images ?
Can anyone explain or help me with this one as I would like to create my own bmp file to use in a toolbar.
I use the little utility program ToolBar Paint which is attached.

LarryMc
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

Andy

Thank you so very much again Larry !

I will give the program a go.

Thanks,
Andy.
Day after day, day after day, we struck nor breath nor motion, as idle as a painted ship upon a painted ocean.