toolbar missing

HI,

I have a program that displays a toolbar perfectly on windows, but when i run it on OSX the toolbar is missing, the space where it should be is gone and the controls below it are pushed up to the top of the window.

in the IDE if i look at the toolbar and click on apple, it shows up ok

any ideas how to make it appear?

There is nothing special you have to do to get the toolbar to appear other than drag it onto the window. Can you replicate this in a simple project?

no,

If i copy the graphics and the toolbar into a new empty project, it works as expected.

What format are the graphics in? If they are bmp’s or ico’s I doubt the mac will be able to use them, but I’m not 100% sure on that as I’m new to Xojo.

HI @

I don’t think its the graphics format. if i copy the graphics and toolbar into a new project, it displays ok, but in this project, it isn’t there on the mac.

A new project on the mac?

OK…

I have two toolbars on the window that i switch between. if i remove the second one, the first one shows up properly.

So its working as expected now? Or is the 2nd one still not showing?

its not working, if i add the second toolbar back to the window, neither of them show.

The user guide notes this:

So perhaps the multiple toolbars on the window is the issue.

From http://developer.xojo.com/userguide/desktop-toolbars

[quote=266939:@Paul Lefebvre]The user guide notes this:

So perhaps the multiple toolbars on the window is the issue.[/quote]

So, it seems!

It works perfectly well on windows! it was only when i tried to use the Mac i discovered this. is this a bug that needs reported?

As the documentation says it’s not supported it would be a feature request for Mac, it working on windows is just a happy accident :slight_smile:

Can you not re-use the same toolbar and create the buttons in code?

Example at end of http://developer.xojo.com/userguide/desktop-toolbars

i suppose i will have to code it.

Ive spent half the day confused by this!

[quote=266943:@]Can you not re-use the same toolbar and create the buttons in code?

Example at end of http://developer.xojo.com/userguide/desktop-toolbars [/quote]

haha beat me to it!