BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 08-16-2007, 01:27 PM   #1 (permalink)
New Member
 
Join Date: Aug 2007
Model: 7100T
PIN: N/A
Carrier: cingular
Posts: 11
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default To make a field fixed

Please Login to Remove!

Hey guys,

Here is the problem: I have two fields in a screen, the top one is a drop-down menu and the bottom one is a list field. All i want is to have the drop-down to be always visible, even though I scroll down the list. Is there any way for me to do it without abandoning the use of MainScreen? I tried the two vertical field manager approach, the top one with no_vertical_scroll and the bottom one with vertical_scroll in a MainScreen but it does not work. Any ideas would greatly be appreciated. Thanks!
Offline  
Old 08-19-2007, 08:40 AM   #2 (permalink)
Thumbs Must Hurt
 
Join Date: Jun 2007
Location: Bangladesh
Model: 8800
PIN: N/A
Carrier: EDGE
Posts: 93
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi oblivion,

A Code snippet would help our analysis - you haven't given us much to go on.

Thanks,
ARIF
Offline  
Old 08-19-2007, 09:41 AM   #3 (permalink)
CrackBerry Addict
 
Join Date: Jun 2005
Location: Manchester, UK
Model: BOLD
Carrier: t-mobile
Posts: 714
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

just put the dropdown in the title area of mainscreen. instead of adding it like:

add(myDropdown);

use:

setTitle(myDropdown);
__________________
new job doesn't allow a public profile - please do not contact this user with questions, you will not get a response. good luck!
Offline  
Old 08-20-2007, 12:22 PM   #4 (permalink)
New Member
 
Join Date: Aug 2007
Model: 7100T
PIN: N/A
Carrier: cingular
Posts: 11
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks for the replies guys. i actually found a solution to this problem: disabling vertical scroll in main screen by using super(MainScreen.NO_VERTICAL_SCROLL). therefore the 2 managers i define works fine now.
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

3 NEW at MostElectric: 800H-JR2KC1 ALLEN BRADLEY 800HJR2KC1
$39.43
3 NEW at MostElectric: 800H-JR2KC1 ALLEN BRADLEY 800HJR2KC1 pictureHUBBELL WIRING DEVICE-KELLEMS Switch Enclosure,NEMA Rating 1, HBL1370
$30.8
HUBBELL WIRING DEVICE-KELLEMS Switch Enclosure,NEMA Rating 1, HBL1370 picture5Pcs RLEIL RL3-2 4Pin ON-OFF 2Position Mini Rocker Toggle Switch 6A 250V DPST
$3.97
5Pcs RLEIL RL3-2 4Pin ON-OFF 2Position Mini Rocker Toggle Switch 6A 250V DPST  pictureNEW Ashcroft SWITCH 75/205F LTDN4KK00060 XFS
$49.99
NEW Ashcroft SWITCH 75/205F LTDN4KK00060 XFS picture1P8T 1 Pole 8 Position Ceramic Band Channel Rotary Switch Selector
$9.38
1P8T 1 Pole 8 Position Ceramic Band Channel Rotary Switch Selector picture






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