ITabObject.Flip

Syntax

Flip(Value: TabObjectFlip);

Parameters

Value. Type of flipping.

Description

The Flip method flips the report object.

Comments

Horizontal flipping is available, if the Value has the TabObjectFlip.Horizontal value, and vertical flipping is available, if the Value has the TabObjectFlip.Vertical value.

Example

Executing the example requires a form with the Button1 button located on it, the TabSheetBox component, and the UiTabSheet component named UiTabSheet1, that is used as a data source for TabSheetBox. The table must contain at least one object. The link to the Tab system assembly should be added.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
    Var
    Tab: ITabSheet;
    TabObj: ITabObject;
Begin
    Tab := UiTabSheet1.TabSheet;
    TabObj := Tab.Objects.Item(0);
    TabObj.Flip(TabObjectflip.Horizontal);
End Sub Button1OnClick;

After executing the example the table object with index 0 is flipped from left to right.

See also:

ITabObject