BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 02-27-2008, 10:45 PM   #1 (permalink)
New Member
Join Date: Jun 2007
Model: 7290
Carrier: GPRS
Posts: 8
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default How to use a HorizontalFieldManager object at Form object of a MIDlet Application

Please Login to Remove!


I have an MIDlet application and I trying to show a button
inside of VerticalFieldManager.

I'm using CustomButtonField of the samples and I am trying to use the following code:

VerticalFieldManager vfm = new VerticalFieldManager();
vfm.add(new CustomButtonField("Aceptar", CustomButtonField.RECTANGLE, Field.FOCUSABLE));

but when can't to show it. Because the form instance can't add a VerticalFieldManager object.

Could you help me?

Thanks a lot.

Old 02-28-2008, 03:51 AM   #2 (permalink)
CrackBerry Addict
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Post Thanks: 0
Thanked 0 Times in 0 Posts

afaik you can't mix rim and canvas. if you want to use vfm/hfm you have to use UiApplication/MainScreen
java developer, Devinto, hamburg/germany
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
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.