RulerType Property (Read/Write)

Top  Previous  Next

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

 

Visual Basic Syntax

 

TNBEmulator.RulerType [= TTnbRulerType]

 

Delphi Syntax

 

TNBEmulator.RulerType [:= TTnbRulerType];

 

 

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

rtNone = 0

No lines

rtCrosshair = 1

Horizontal and vertical lines

rtVertical = 2

Only vertical line

rtHorizontal = 3

Only horizontal line

 

See Also CursorPos property and TTnbRulerType constants.