Flip(Value: TabObjectFlip);
Flip(Value: Prognoz.Platform.Interop.Tab.TabObjectFlip);
Value. Type of flipping.
The Flip method flips the report object.
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.
To execute the example a form with a button named Button1 on it, the TabSheetBox component, and the UiTabSheet component named UiTabSheet1, that is used as a data source for TabSheetBox are required. 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.
To execute the example a .NET form with a button named button1 on it, the TabSheetBoxNet component, and the UiTabSheetNet component named uiTabSheetNet1, that is used as a data source for TabSheetBoxNet are required. At least one object must be created in the table. The link to the Tab system assembly should be added.
Imports Prognoz.Platform.Interop.Tab;
...
Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
Var
Tab: ITabSheet;
TabObj: ITabObject;
Begin
Tab := uiTabSheetNet1.TabSheetUi.TabSheet;
TabObj := Tab.Objects.Item[0];
TabObj.Flip(TabObjectflip.tofHorizontal);
End Sub;
After executing the example the table object with index 0 is flipped from left to right.
See also: