BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-16-2007, 12:04 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Jul 2007
Model: 8800
PIN: N/A
Carrier: CLDC
Posts: 29
Post Thanks: 0
Thanked 0 Times in 0 Posts
Post Layout????

Please Login to Remove!

Hi All,

I m puting a VerticalFieldManager on to the screeen and adding EditField onto the manager and finally i m adding manager on to the screen.

Now, i want to see the editfield bottom of the screen ? i mean i want to place a field bottom of the screen? How?

Any Help???

Thanks in Advance....
Offline  
Old 08-16-2007, 02:44 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 dangihitesh,

Create a custom manager by extending Manager class. Then implement "protected abstract void sublayout(int width, int height)" method and set the field position by calling "setPositionChild" method. Now, add your custom manager bottom of your screen.

Cheers,
ARIF

Last edited by arifzaman : 08-16-2007 at 02:53 AM.
Offline  
Old 08-21-2007, 04:11 AM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Jul 2007
Model: 8800
PIN: N/A
Carrier: t-mobile
Posts: 44
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

setStatus(yourManager) should do the trick.

setStatus displays the Manager at the bottom of the display, even if the screen is larger than the display. E.g. you are using a large TreeField or something like that.
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.