This one has me stumped and I cannot find any info on the web.
I have a drawer that contains an image (NSImageView; image sent to back in Interface Builder) with text fields and buttons on top of it. When I compile and run my application the image appears to the front thus hidding the text fields and buttons. What is odd is it appears correctly in Interface Builder.
Any ideas on how to correct this would be greatly appreciated!
CarbonQuark
I would try experimenting with the IB feature of “send to back” or “send to front” for the objects in your drawer.
I am not in my computer right now (shucks, I’m stuck with PC and Windoze right now) so I can’t check this for you but I am sure you got what I mean. I had the same problem before and I remember tinkering with selecting the objects and using the “send to front” or “send to back” option. It’s worth a try.
Sorry CarbonQuark. I take back my words. I did not see your statement about your NSImage being send to back on IB. Crud! I must be getting old or need new glasses.
Then correction: in this case, I am just as stumped as you are.
Regrets only but wishing you luck that you’d find the solution.
This seems like a bug to me, and you should report it to apple.
It worked for me… believe it or not… to send everything ELSE to the back. Bring the image view to the front and everything should end up on top. Sounds crazy, but it’s working for me here. Can anyone else confirm? :o
Yes - I tried and here’s absolutely the same. What a funny bug - CarbonQuark, you should definitely report this …
Maybe another idea for a solution (if you want to see your buttons & text fields in IB): You could make all items of the drawer (including the image view) subview of a box - then everything works as it should …