BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 08-25-2011, 04:36 AM   #1 (permalink)
New Member
Join Date: Aug 2011
Model: 7100T
Carrier: Az
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default ObjectChoiceField and Field.USE_ALL_WIDTH

Please Login to Remove!


I would like to know if the flag style Field.USE_ALL_WIDTH is supported for an ObjectChoiceField component. I try to use it but it doesn't work. I was expecting the field to take all the width of its container (in my case the screen's width).

I have tried to override the layout method, and I call setExtent correctly, with the screen's width as parameter, but it's still the same.

How could I make the field take all the available width ?


Edit : I use the JDE 4.7.0, and the 9530 Simulator.

Last edited by laurre : 08-25-2011 at 04:48 AM.
Old 08-25-2011, 08:28 AM   #2 (permalink)
BlackBerry Extraordinaire
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default Re: ObjectChoiceField and Field.USE_ALL_WIDTH

My advice would be to use ObjectListField instead.

ObjectChoiceField is meant to be a form control, and the list itself will take its width from the widest member.
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

Similar Threads for: ObjectChoiceField and Field.USE_ALL_WIDTH
Thread Thread Starter Forum Replies Last Post
Need help for resize the ButtonField and the ObjectChoiceField bitpanda Developer Forum 0 08-20-2010 09:48 PM
ObjectChoiceField alignment problem in JDE 4.5.0 suspiration Developer Forum 1 07-27-2008 09:08 AM
Newbie First Attempt - Datacapture & Http post/push issues myworldntl Developer Forum 1 07-23-2008 01:03 PM
objectchoicefield and "change option" menuItem focus suspiration Developer Forum 0 04-11-2008 01:28 PM
objectchoiceField issue amit.prabhat Developer Forum 3 01-22-2008 04:13 AM

APPLE 630-0895-B  VRAM 128K X 8 BOARD CARD VINTAGE pictureAPPLE 820-0522-A 630-0895-B LITE VRAM 128K X 8 BOARD >
APPLE 820-0522-A 630-0895-B LITE VRAM 128K X 8 BOARD > picture

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