IonicWind Software

IWBasic => General Questions => Topic started by: Andy on April 27, 2010, 07:02:27 AM

Title: Load Toolbar example question
Post by: Andy on April 27, 2010, 07:02:27 AM
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.
Title: Re: Load Toolbar example question
Post by: LarryMc on April 27, 2010, 07:13:41 AM
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
Title: Re: Load Toolbar example question
Post by: Andy on April 27, 2010, 07:38:18 AM
Thank you so very much again Larry !

I will give the program a go.

Thanks,
Andy.