BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 08-25-2011, 04:36 AM   #1
laurre
New Member
 
Join Date: Aug 2011
Model: 7100T
PIN: N/A
Carrier: Az
Posts: 4
Default ObjectChoiceField and Field.USE_ALL_WIDTH

Please Login to Remove!

Hello,

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 ?

Thanks

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

Last edited by laurre; 08-25-2011 at 04:48 AM..
Offline  
Old 08-25-2011, 08:28 AM   #2
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
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.
Offline  
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


Dusk to Dawn Photocell Light Switch Auto ON Off Light Sensor Control Switch picture

Dusk to Dawn Photocell Light Switch Auto ON Off Light Sensor Control Switch

$55.88



DCI FOOT SWITCH PEDAL 2 POSITION 1/PK. SELECT SPS # 9406 picture

DCI FOOT SWITCH PEDAL 2 POSITION 1/PK. SELECT SPS # 9406

$132.99



ELECTRIC COOLING FAN GROUND-ING THERMO-STAT SWITCH RADIATOR TEMP-ERATURE SENSOR picture

ELECTRIC COOLING FAN GROUND-ING THERMO-STAT SWITCH RADIATOR TEMP-ERATURE SENSOR

$19.95



1/8-1/2 INCH NPT ELECTRIC RADIATOR FAN THERMOSTAT TEMP-ERATURE SENSOR SWITCH KIT picture

1/8-1/2 INCH NPT ELECTRIC RADIATOR FAN THERMOSTAT TEMP-ERATURE SENSOR SWITCH KIT

$19.95



On/Off Key Switch Lock Keyed Alike, Key Removable in OFF Position With 2 Keys picture

On/Off Key Switch Lock Keyed Alike, Key Removable in OFF Position With 2 Keys

$13.95



ELECTRIC COOLING FAN GROUND-ING THERMO-STAT SWITCH RADIATOR TEMP-ERATURE SENSOR picture

ELECTRIC COOLING FAN GROUND-ING THERMO-STAT SWITCH RADIATOR TEMP-ERATURE SENSOR

$17.99







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