BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 11-14-2007, 06:08 AM   #1 (permalink)
New Member
 
Join Date: Nov 2007
Model: 8830
PIN: N/A
Carrier: GPRS
Posts: 6
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default How to create borderless PopupScreen

Please Login to Remove!

How to create a popup screen with no border line. I am creating a class which extends PopupScreen. Also, I want to place the fields in it which are verticaly centered and have some gap also.

I am new to Blackberry, so need help from you guys.

Thanks!
Offline  
Old 05-26-2008, 03:37 AM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Apr 2008
Model: 8100
PIN: N/A
Carrier: Hong Kong CSL
Posts: 18
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Anyone has the answer to this question?

The border drawing code does not seem to be inside the paint or paintbackground methods.

Infact, the border region seems to be outside the popupScreen rectangle.
Offline  
Old 05-27-2008, 08:29 AM   #3 (permalink)
Thumbs Must Hurt
 
Join Date: Dec 2005
Model: 8310
Carrier: Rogers
Posts: 138
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Just implement a popupscreen yourself.

You can extend screen, and pass any kind of manager into the constructor. I recommend overriding that manager's sublayout method so that you can manually set the manager's position.

You will also have to implement the screen's sublayout method to set the extent and position of the screen, then call layoutDelegate.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.