guides:o4w:o4w_api:o4wtabs

O4WTabs routine

Creates a tabbed pane, named <tabSectionID>, containing tabs with titles (@VM delimited) from <tabTitles>. The content of the tabs must be contained in O4W sections, as named in the associated @VM-delimited <tabDetailIDS> parameter. Since the O4WTabs call creates an overall tab section using the <tabSectionID> (via an internal call to O4WSectionStart(<tabSectionID>)), be sure to use O4WSectionEnd(<tabSectionID>) to close the overall tab section.

O4WTabs(tabSectionID, tabDetailsIDs, tabTitles, tabRequiresData, tabOptions, styleInfo)

The function has the following parameters:

ParameterDescription
tabSectionIDThe identifier for the tab section.
tabDetailIdsThe content of the tabs. The content must be the name of an O4W section.
tabTitlesA list of titles for the individual tabs.
tabRequiresDataBoolean. If True, then an ajax-style request is sent to the commuter module (event = 'TAB', ctlentid = the specific <tabDetailID>).
tabOptionsReserved.
styleInfoAn @fm delimited array of style information. Position 1 should contain an @vm delimited array of styles for the first tab. Position 2 should contain an @vm delimited array of styles specific to all tabs.

If the O4WHTMLOptions style is passed in the parameter then the associated tabTitles parameter may contain HTML instead of plain text.
  • guides/o4w/o4w_api/o4wtabs.txt
  • Last modified: 2024/06/19 20:19
  • by 127.0.0.1