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.

inside custom component

Java Development

Reply
Developer
peter_strange
Posts: 19,601
Registered: ‎07-14-2008
My Device: Not Specified

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
My Device: Not Specified

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: 14,419
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
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.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.