Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
peter_strange
Posts: 17,722
Registered: ‎07-14-2008

Re: VerticalFieldManager halves MAX_EXTENT

Opps, almost forgot about the problem!  If you could tell me what JDE Level you are using I'll have a go at recreating the problem myself.  If you have any sample code (perhaps your correct GuageField?) that would make this faster, I'd appreciate a Post.  Cheers
Please use plain text.
New Developer
New Developer
bb9
Posts: 29
Registered: ‎07-28-2008

Re: VerticalFieldManager halves MAX_EXTENT

JDE 4.2.1

 

HorizontalFieldManager hfm = new HorizontalFieldManager();
VerticalFieldManager lfm = new VerticalFieldManager(Manager.HORIZONTAL_SCROLL);
hfm.add(lfm);
VerticalFieldManager rfm = new VerticalFieldManager(Manager.HORIZONTAL_SCROLL);
hfm.add(rfm);

lfm.add(new LabelField("Nothing:"));

rfm.add(new GaugeField("", 0, 10, 10,
0
| Field.EDITABLE
| Field.FOCUSABLE
| GaugeField.PERCENT
));

 add(hfm);

Please use plain text.
Administrator
MSohm
Posts: 12,957
Registered: ‎07-09-2008
My Carrier: Bell

Re: VerticalFieldManager halves MAX_EXTENT

Thank you for posting the sample code.  I've been able to reproduce this and also found that the label isn't shown at all in BlackBerry handheld software version 4.5.0.  This issue has been forwarded to our development team.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.