BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 07-02-2010, 06:49 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Jan 2010
Model: 8900
PIN: N/A
Carrier: telus
Posts: 35
Post Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up HorizontalScrollBar problem with HorizontalFieldManager

Please Login to Remove!

Hi,
i am getting problem to display scrollBar on HorizontalFieldManager while i am able to scrool if field has more item to display on Screen. i am using this code
Code:
HorizontalFieldManager hfm_image=new HorizontalFieldManager(HorizontalFieldManager.HORIZONTAL_SCROLL|
HorizontalFieldManager.HORIZONTAL_SCROLLBAR);
i have been adding Images in hfm_image.
if any one know then reply me.
thanks and Regards
Imran ali
Offline  
Old 07-06-2010, 10:47 AM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Jun 2010
Model: 8530
PIN: N/A
Carrier: Sprint
Posts: 48
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Try this.

Code:
HorizontalFieldManager myManager = new HorizontalFieldManager( 
	                HORIZONTAL_SCROLL | HORIZONTAL_SCROLLBAR); 
	        TextField textField = new TextField(TextField.NO_NEWLINE);       
	       textField.setText("Britain's Queen Elizabeth II will address the U.N. General Assembly Tuesday afternoon, her first speech there in more than 50 years. The queen has addressed the General Assembly only once before, in 1957."); 
	        myManager.add(textField);
	        add(myManager);

Last edited by romah : 07-06-2010 at 10:48 AM.
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

Tektronix 7704A A7704 D7704 7704 Oscilloscope Mainframe 7A16 7A26 7B85 7B80 NR
$147.0
Tektronix 7704A A7704 D7704 7704  Oscilloscope Mainframe 7A16 7A26 7B85 7B80 NR pictureKeithley Instruments S46L RF Microwave Switch Mainframe Switching System
$750.0
Keithley Instruments S46L RF Microwave Switch Mainframe Switching System picture^^ THORLABS PRO 800 LASER SOURCE MAINFRAME
$750.0
^^ THORLABS PRO 800 LASER SOURCE MAINFRAME pictureAgilent HP 16702A OPT# 3 Logic Analysis Mainframe w/ 4x 16557D WITH CABLES
$368.0
Agilent HP 16702A OPT# 3 Logic Analysis Mainframe w/ 4x 16557D WITH CABLES picturePulse Instruments PI-4002 Mainframe, (8) 4 Channel 40750 Low Noise DC Bias Cards
$199.95
Pulse Instruments PI-4002 Mainframe, (8) 4 Channel 40750 Low Noise DC Bias Cards picture






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