Help
Is there a way to have a toolbar with no picture but multi line caption. I can not get multiline to work.
I use HMG 3.2 windows 8.1
DEFINE TOOLBAR ToolBar_1 BUTTONSIZE 40,40 FLAT BORDER
BUTTON Button_1 ;
CAPTION 'F2 .......'&New' ;
ACTION MsgInfo('Click! New')
END TOOLBAR
I would like toolbar caption to say F2 above the &New on the button no pictures
Franco.
Thank you Anand,
Do You know if there are any .bmp`s built right into hmg. My problem is I don`t want to distribute a lot bmp files to my clients.
Franco
Yes, as Mol said, you only need to add your images in the resource file and the exe will contain it.
I have made the required resouce file with some images of your tool bar code. Run the exe and see it will show the images. You do not need to distribute the images to the client.
2017-04-15_170008.png (8.28 KiB) Viewed 4620 times
WOW, This is what I enjoy about HMG. There is always a solution for most problems by knowledgeable members.
I will Make my bmp`s. Is there any colored function key bmp`s already made that you know of. I wanted a (red) or colored box with (F1) and so on on them.
Thank you both for your help.
Franco
Thanks Anand, I still can not get it to work for me.
I built my own f.bmp`s and put them in the hmg 3.2 resources folder. Then entered there names as you suggested in my resource area of my program.
I have the bmps in my program folder, so they work when I compile. When I copy the exe to a different folder without the bmps they do not show up.
I even tried the edit_new.bmp but again it will not show up, and it is in the 3.2 resources folder.
I am using 8.1 and hmg 3.2 and my program starts with #include <hmg.ch> ... not minigui.
Any thoughts ..... Franco