BBjTabCtrl::setSlotAt
Description
In BBj 24.11 and higher, this method moves a child BBjControl into the DWC web component on a specified tab. If a non-blank slot name is specified, the child BBjControl is placed in the named slot within the DWC tab web component.
Syntax
Return Value | Method |
---|---|
void | setSlotAt(int index, BBjControl control) |
void | setSlotAt(int index, String slot, BBjControl control) |
Parameters
Parameter | Description |
---|---|
index | The 0-based index of the tab. |
control | BBjControl to be added to this DWC BBjTabCtrl tab web component. |
slot | Name of the slot within this DWC BBjTabCtrl tab web component to place the BBjControl. |
Return Value
None.
Remarks
This method is only meaningful in the DWC client; it's ignored in all other environments.
If no slot string is specified, or is specified as "", the specified control is added to the default slot.
When an absolutely positioned BBjControl is moved into a parent component, the following CSS properties are cleared from the child:
Example
|
Version History
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.