TrvActionInsertTable.ShowTableSizeDialog

<< Click to display table of contents >>

TrvActionInsertTable.ShowTableSizeDialog

These methods display a table sizing window. When this window is closed, a table with the specified count of rows and columns is inserted in Target.

procedure ShowTableSizeDialog(Target: TCustomRichViewEdit;

  Button: TControl); overload;

procedure ShowTableSizeDialog(Target: TCustomRichViewEdit;

  const ButtonRect: TRect); overload;

The first version of this method displays this window relative to the position of Button.

In the second version of this method, this position is specified in ButtonRect (some third-party toolbar component do not use controls for buttons, so the first version of this method cannot be used).

If the user presses  Escape  while this window is open, the window is closed and insertion is canceled.