I cant find ANY examples of using the HorizontalTabTitleView class.
Ive tried many things of which the below should work! But it comes up blank.
The created Hierachy is:
HorizontalTabTitleView -> PaneManagerModel -> Pane -> VerticalFieldManager-> BasicEditField
Where PaneManagerModel can hold Many Panes which are used as Tabs.
HorizontalTabTitleView tabView = new HorizontalTabTitleView(VERTICAL_SCROLL );
tab1 = new LabelField("Page 1");
BasicEditField Name = new BasicEditField( "Name:", "", 100, BasicEditField.EDITABLE );
tab1Manager = new VerticalFieldManager();
tab1Manager.add( Name );
PaneManagerModel pneMger = new PaneManagerModel();
Pane pne1 = new Pane(tab1, tab1Manager );
pneMger.addPane(pne1);
tabView.setModel(pneMger);
//tabView.setNumberOfDisplayedTabs(3);
add(tabView);
Someone on on Blackberry support pages had a problem on making a transparent tab providing a working example of the usage of
HorizontalTabTitleViewon the code part of his question. The question maker at least says that his code is working (despite the transparency), so would you like to have look? =)