RulerType Property (Read/Write)

Top  Previous  Next

Sets/gets the format style of the ruler. This ruler shows the cursor position.

 

Visual Basic Syntax

 

TNBXEmulator.RulerType [= TxRulerType]

 

Delphi Syntax

 

TNBXEmulator.RulerType [:= TxRulerType];

 

 

Remarks

 

For example, ruCrosshair constant value will draw one vertical and one horizontal lines, and the intersection will be the cursor position.

 

Valid constant values are:

 

Constant Value

Meaning

ruNone = 0

No lines

ruCrosshair = 1

Horizontal and vertical lines

ruVertical = 2

Only vertical line

ruHorizontal = 3

Only horizontal line

 

See Also CursorPos property and TxRulerType constants.