Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 204
Registered: ‎07-09-2009
My Device: Not Specified
Accepted Solution

How to Hide title bar on MainScreen

How does one hide the title bar on a MainScreen?  I want a single bitmap for the entire screen, right now I've got that except for the title bar, which I don't know how to get rid of.  If I use FullScreen I'll lose one of MainScreen's features I need.

 

Thank you...

 

Highlighted
Developer
Posts: 19,631
Registered: ‎07-14-2008
My Device: Not Specified

Re: How to Hide title bar on MainScreen

Never tried it, but I've always presumed that setTitle(null) would have the result you require.  Can you try it and let us know?
Developer
Posts: 204
Registered: ‎07-09-2009
My Device: Not Specified

Re: How to Hide title bar on MainScreen

Don't know why I didn't think of that.  Where shall I send the beer?  It works, but you have to use setTitle((LabelField)null) otherwise it's too ambiguous for the compiler.  Thank you!