Members for Pane Class
The table below lists the members for the Pane class.
pane.Accounts_correspondence.visible = false;
However, a computation action can be used as a workaround. For the example shown above, create a computation action on the "Visible" property of the "correspondence" pane for the "Accounts" update event, and compute the value using the context.record property. For example:
var correspVisible = true; if (context.record != null) { var genInfo = context.record.generalInformation; if (genInfo != null) { correspVisible = "PROXYHOLDER" != genInfo.selectType; } } correspVisible;
This will make the "correspondence" tab invisible when "PROXYHOLDER" is selected. The context.record will point to that record in the record pane relative to the instance where the value is computed.
Property | Return Value | Description | Read Only |
---|---|---|---|
reallyEnabled |
Boolean | The enabled setting of a pane is controlled both by its own enabled property, and the enabled properties of any of its ancestors. If the parent pane of a pane is disabled, then reallyEnabled returns false for that control. The method returns true only if its own enabled property is true and all of its ancestor's enabled properties are set to true. | Y |
reallyReadOnly |
Boolean |
The readOnly setting of a control is controlled both by its own readOnly property, and the readOnly properties of any of its ancestors. If the parent pane of a control is not read only, then reallyReadOnly returns false for that control. The method returns true everytime it's own readOnly property is true or any of its ancestor's readOnly property is true. . |
Y |
reallyVisible |
Boolean | The visibility of a pane is controlled both by its own visibility property, and the visibility properties of any of its ancestors. If the parent pane of a pane is not visible, then reallyVisible returns false for that control. The method returns true only if it's own visibility property is true and all of its ancestor's visibility properties are set to true. | Y |
activeTab |
Pane | Returns the active child pane for a tabbed pane. | |
controls |
Control[] | Returns an array of controls that are direct children of this pane. | Y |
enabled |
Boolean | Retrieves the enabled flag for this pane. | |
form |
Form | Returns the form object to which this pane belongs. | Y |
label |
String | Retrieves the label for this pane. | |
name |
String | Returns the name of the pane. | Y |
panes |
Pane[] | Returns an array of panes that are direct children of this pane. | Y |
paneType |
String | Returns the pane type of this pane (for example, "com.tibco.forms.panes.vertical"). | Y |
parent |
Pane or Form | Returns the parent pane or form object to which this pane belongs. | Y |
readOnly |
Boolean | Returns the read-only state of this pane. | |
selection |
List or Object | Returns the object currently selected in the grid or record pane. If the grid supports multiple selections, then this is a list that contains the selected records. | Y |
selectedIndex |
Pane | Returns the index of the currently selected row of a single select grid pane or the index of the currently selected record of the record pane. If there is no selection, it returns -1 | |
value |
List or Object | For grid and record panes returns a list. Returns null or a complex object value for other pane types. | Y |
visible |
Boolean | Retrieves the visible flag for this pane. | Y |