Use a TabPane widget to organize multiple tabs. Each tab hold a collection of widgets on a form. A user views one tab at a time.
To learn how to use this widget programmatically, refer Kony Visualizer Widget guide.
The following are important considerations for a TabPane widget:
Widget focus within a tab is saved. For example, if Widget2 of Tab2 has the focus, and you navigate to Tab1 and then back to Tab2, Widget2 still has the focus.
Look properties define the appearance of the widget. The following are the major properties you can set:
For descriptions of the properties available on the Look tab of the Properties pane, see Look.
Skin properties define a skin for the widget, including background color, borders, and shadows. If the widget includes text, you can also specify the text font.
For a TabPane widget, you can apply a skin and its associated properties for the following states
Skin | Definition |
---|---|
Active | The skin applied when a TabPane is active. |
Active Focus | The skin applied when a TabPane is active and has the focus. |
Inactive |
The skin applied to inactive tabs. |
Page | The skin for the page indicator. The skin is applicable only when View Type is set to Page and images are specified for Focused Page and Unfocused Page icons. |
For more information about applying skins, see Understanding Skins and Themes.
TabPane properties specify properties that are available on any platform supported by Kony Visualizer, and assign platform-specific properties.
Specifies whether tabs in the TabPane are active or inactive.
For a TabPane on a VBox form, specifies whether the TabPane occupies the entire form.
Note: Do not place more than one full-screen widget on a form.
Note: This property is available only when a TabPane is placed inside a VBox form.
Specifies the TabPane view type for each platform. To specify the view type, click the Edit button to open the View Type dialog box, select a platform, and then select a view type.
Following are the options:
Specifies the height of the TabPane as a percentage of the Height Reference property.
Note: This property is available only when TabPane is placed inside a VBox Forms.
Specifies how the Height percentage is calculated.
Following are the options:
Note: This property is available only when TabPane is placed inside a VBox Forms.
Specifies whether the progress indicator is displayed.
Note: This property is specific to the iOS platform.
Specifies the color of the progress indicator, either Grey or White.
Note: This property is specific to the iOS platform.
Specifies the height of the tab header.
Note: This property is specific to the Android platform.
Actions define what happens when an event occurs. On a Tab widget, you can run an action when the following events occur:
For more information, see Add Actions.
The following table summarizes where a TabPane widget can be placed:
Flex Form | Yes. |
VBox Form | Yes, only 1 |
FlexContainer | Yes |
FlexScrollContainer | Yes |
HBox | Yes, only 1 |
VBox | Yes, only 1 |
ScrollBox | Horizontal
Orientation -No Vertical Orientation- No |
Tab | No |
Segment | Horizontal
Orientation -No Vertical Orientation- No |
Popup | Yes, only 1 |
Template
|
Header- No Footer- No |
Rev | Author | Edits |
8 | SHS | SHS |
7.2.1 | SHS | SHS |
Copyright © 2013 Kony, Inc. All rights reserved. |