BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 03-26-2010, 10:09 PM   #1 (permalink)
New Member
 
Join Date: Mar 2010
Model: 9550
PIN: N/A
Carrier: telus
Posts: 11
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Scroll help

Please Login to Remove!

I have put a large Bitmap on a screen and have made it scroll to be able to see the whole Bitmap...
My problem is when I add buttons underneath the Bitmap it will not scoll the whole vertical length of the Bit map

ap logoBitmap = Bitmap.getBitmapResource("large2.png");
private BitmapScroller bitmapScroller;
private ButtonField storeButton;
private ButtonField findButton;
{
bitmapScroller = new BitmapScroller(logoBitmap);
add(bitmapScroller);
bitmapScroller.setChangeListener(this);{

storeButton = new ButtonField("FIND a STORE", ButtonField.CONSUME_CLICK);
storeButton.setChangeListener(this);
findButton = new ButtonField("FIND a BOTTLE", ButtonField.CONSUME_CLICK );
findButton.setChangeListener(this);

HorizontalFieldManager buttonManager = new HorizontalFieldManager(Field.FIELD_HCENTER);
buttonManager.add(storeButton);
buttonManager.add(findButton);
add(buttonManager);
;
}
}
public void fieldChanged(Field field, int context) {
if(field == storeButton){
UiApplication.getUiApplication().pushScreen(new ScrollTest());

}
}
}

Can someone let me know what I have missed

Cheers!!!
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

Black Server 3 Pocket Waitress Waist Apron Gray Butterfly Name Added FREE
$10.0
Black Server  3 Pocket Waitress Waist Apron Gray Butterfly  Name Added  FREE pictureBlack Server 3 Pocket Waitress Waist Apron Heart Rose Name FREE Lady Pizazz
$10.0
Black Server  3 Pocket Waitress Waist Apron Heart Rose  Name FREE Lady Pizazz picture10 Pcs M4 x 0.7mm 304 Stainless Steel Cage Floating Nuts for Server Rack Cabinet
$8.48
10 Pcs M4 x 0.7mm 304 Stainless Steel Cage Floating Nuts for Server Rack Cabinet picture1PC One Pcs Panasonic Server MSD023A1X + One pieces MSM022A1A 200W
$677.5
1PC One Pcs Panasonic Server MSD023A1X + One pieces   MSM022A1A 200W pictureMulti-Tech Systems MU-FF240.R1 Fax Server 2 Port Supports V.34/33.6K
$1449.27
Multi-Tech Systems MU-FF240.R1 Fax Server 2 Port Supports V.34/33.6K picture






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