tablegrid TrvActionTableGrid

Properties

Top  Previous  Next

TrvActionTableGrid is the action for "Table | Show Grid Lines" command.

Unit RichViewActions;

Syntax

TrvActionTableGrid = class(TrvCustomAction)

Hierarchy

TObject

TPersistent

TComponent

TBasicAction

TContainedAction

TCustomAction

TAction

TrvCustomAction

Description

The action shows/hides grid lines in tables. Grid lines are shown in places of invisible borders (zero border width, or sides hidden by VisibleBorders properties).

The action sets a global grid line mode, not a mode for the specific TCustomRichViewEdit component, so it is enabled even if no TCustomRichViewEdit components available.

This action assigns a new value to RichViewTableGridStyle global variable (declared in RVTable.pas) and repaints all TCustomRichView components on all forms.

To show grid lines, the action assigns TRVAControlPanel.TableGridStyle; to hide grid lines, it assigns psClear.

This action does not introduce any new properties in addition to properties of TrvCustomAction.


RichView © Sergey Tkachenko