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
rakesh86shankar
Posts: 979
Registered: ‎05-22-2009

How to create tab or set of icons component


Hi i want a set of icons that should be placed in the top of form(similar to multiple tabs),on clicking the icons it should go to respective pages.So i want an idea of creating it.

 

Icon tab sort of thing,So how can custom compoent can be created,Help me

 

 

 

Regards

Rakesh shankar.p

Please use plain text.
Developer
simon_hain
Posts: 15,558
Registered: ‎07-29-2008
My Carrier: O2 Germany

Re: How to create tab or set of icons component

use a horizontalfieldmanager and put the icons there. implement a fieldchangelistener for them. on fieldchanged you exchange the verticalfieldmanager below with the one you want to display.

----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
Developer
peter_strange
Posts: 19,508
Registered: ‎07-14-2008

Re: How to create tab or set of icons component

Agree with Simon, to help you layout your icons nicely, instead of a HorizontalFiedlmanager, you might consider a TablelayoutManager.

 

See here:

http://supportforums.blackberry.com/t5/BlackBerry-Developer-s-Blog/How-to-use-Table-View-layout/bc-p...

Please use plain text.
Contributor
joppert
Posts: 17
Registered: ‎04-17-2010
My Carrier: Nextel

Re: How to create tab or set of icons component

Weird, I try to check that url you posted and it tells me I don't have the proper rights to browse it.

 

Anything wrong?

 

Cheers,

 

Ernani

Please use plain text.
Developer
rcmaniac25
Posts: 1,804
Registered: ‎04-28-2009
My Carrier: Verizon

Re: How to create tab or set of icons component

[ Edited ]

I couldn't view the link Peter posted up either so found an updated URL:

http://devblog.blackberry.com/2009/10/how-to-use-table-view-layout/

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
Please use plain text.
Contributor
joppert
Posts: 17
Registered: ‎04-17-2010
My Carrier: Nextel

Re: How to create tab or set of icons component

Very weird my friend.

 

Anyways, thanks for the time to repost it, really appreciate it!

 

Cheers,

 

Ernani

Please use plain text.
Developer
peter_strange
Posts: 19,508
Registered: ‎07-14-2008

Re: How to create tab or set of icons component

FWIW, I can't view it now either.....

Please use plain text.