ITabView.ShowFormatDialogEx

Syntax

ShowFormatDialogEx(Wnd: IWin32Window);

Parameters

Wnd. The window, according to what the window opens modally.

Description

The ShowFormatDialog method displays a format dialog box for the current selection.

Example

Executing the example requires a form with the Button1 button located on it, the UiTabSheet component named UiTabSheet1 and the TabSheetBox, for which UiTabSheet1 is used as a data source.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    TView: ITabView;
Begin
    TView := UiTabSheet1.TabSheet.View;
    TView.ShowFormatDialogEx(Self As IWin32Window);
End Sub Button1OnClick;

Clicking the button displays a formatting window for the currently selected table range. The window is opened modally relative to the current form.

See also:

ITabView