ITabView.ShowFormatDialogEx

Fore Syntax

ShowFormatDialogEx(Wnd: IWin32Window);

Fore.NET Syntax

ShowFormatDialogEx(Wnd: Prognoz.Platform.Interop.Forms.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.

Fore Example

Executing the example requires a form with the Button1 button, the UiTabSheet component named UiTabSheet1 and the TabSheetBox, for which UiTabSheet1 is set 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.

Fore.NET Example

The requirements and result of the Fore.NET Example execution match with those in the Fore Example. Use Fore.NET analogs instead of Fore components.

Imports Prognoz.Platform.Forms.Net;
Imports Prognoz.Platform.Interop.Tab;

Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
Var
    TSheet: TabSheet;
    TView: ITabView;
Begin
    TSheet := uiTabSheetNet1.TabSheetUi.TabSheet;
    TView := TSheet.View;
    TView.ShowFormatDialogEx(New IWin32WindowForeAdapter(Self));
End Sub;

See also:

ITabView