Folder
(System Library)
X1 |
Required. The coordinate of the left side of the folder. |
Y1 |
Required. The coordinate of the bottom of the folder. |
X2 |
Required. The coordinate of the right side of the folder. |
Y2 |
Required. The coordinate of the top of the folder. |
Labels |
Required. A one dimensional array of labels to be assigned as the labels for each of the folder's tabs. |
Selected |
Required. The selected tab. Selected defaults to 0 (indicating the first tab). |
TabHeight |
Numeric feedback parameter, telling the caller the height of the tabs, or the total height when there are multiple rows of tabs. |
Comments: | This module is a member of the System Library, and must therefore be prefaced by \System. as shown in the "Format" section. If your application predates version 11.2, use the backslash notation rather than dot: \System\ |
Example:
Draws a folder with two tabs on the Overview page of an application.
[ Title = "OverviewLabel"; Color; ViewLabels; SelViewOptTab; TabHeight; ] Init [ If 1 Main; [ ViewLabels = new(2); ViewLabels[0] = \GetPhrase("LeftLabel"); ViewLabels[1] = \GetPhrase("RightLabel"); SelViewOptTab = 0; ] ] Main [ Return(Self); \System\Folder(100, 600, 500, 100, ViewLabels, SelViewOptTab, TabHeight); ]