BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 05-26-2009, 05:56 AM   #1 (permalink)
New Member
 
Join Date: Apr 2007
Model: 8100
PIN: N/A
Carrier: china mobile
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default screen with titlebar

Please Login to Remove!

Hi everyone,

I made a custom screen which has a titlebar, so I invoked the setPositionDelegate() to put the delegate manager a little lower.

But when I click on the screen(9500), it seems an wrong coordinate was transmited into the delegate. for example, if you click on a ChoiceField, it doesn't show the choice options, but it will if you click at a little below the ChoiceField.

I think the problem is in sublayout():
Code:
protected void sublayout(int width,int height){
      super.sublayout(width,height);
      setPositionDelegate(0,titlebar.getHeight());
      layoutDelegate(width,height-titlebar.getHeight());
      setExtent(width,height);
                
}
Anyone know what the problem is? Thanks in advance.
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

NEC SL1100 Be110290 16 Channel Voip Daughter Card 1100111
$288.99
NEC SL1100 Be110290  16 Channel Voip Daughter Card 1100111 pictureMatrix ComSec 8-Voip 8-Fxo Gateway MAT-SETU-VFX880
$475.99
Matrix ComSec 8-Voip 8-Fxo Gateway MAT-SETU-VFX880 pictureMatrix ComSec 4-Voip 4-Fxo Gateway MAT-SETU-VFX440
$352.99
Matrix ComSec 4-Voip 4-Fxo Gateway MAT-SETU-VFX440 pictureATT 8000 IP Conference Phone Station Corded VOIP RJ-45 W/Power Supply
$39.99
ATT 8000 IP Conference Phone Station Corded VOIP RJ-45 W/Power Supply pictureLot of 10 Cisco Systems CP-7961G IP Phone 7961 Series 7900 VoIP Office Desk Phon
$79.0
Lot of 10 Cisco Systems CP-7961G IP Phone 7961 Series 7900 VoIP Office Desk Phon picture






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