Links
EControl Syntax Editor SDK
TecHorzRuler Class

Represents horizontal ruler at the top side of the editor. The width of one unit is equal to default character width.

TecHorzRuler = class(TPersistent);

ecSyntMemo

Topic 
Description 
The methods of the TecHorzRuler class are listed here. 
The properties of the TecHorzRuler class are listed here. 
The events of the TecHorzRuler class are listed here. 
 
Constructor 
 
virtual 
 
Property 
 
Event 
TecHorzRuler Events 
Description 
Occurs when properties of object are changed. 
TecHorzRuler Methods 
Description 
Creates and initializes a TecHorzRuler instance. 
Destroys an instance of TecHorzRuler. 
TecHorzRuler Properties 
Description 
Specifies background properties. 
Specifies background color. Background color is used together with BackGround to define gradient filling. When background color is equal to clNone - editor color is used. 
Font 
Specifies font of ruler labels. 
Specifies ruler height. 
Specifies interval in character units between labels. Default value is 10. 
Specifies line color of major ticks. 
Specifies interval in character units between major ticks. 
Specifies major ticks size. 
Specifies line color of minor ticks. 
Specifies interval in character units between minor ticks. 
Specifies minor ticks size. 
Specifies color of line between ruler and text area. When this color is clNone - separator is not drawn. 
Specifies whether marker of current caret position should be displayed on ruler. 
Specifies whether horizontal ruler is visible. 
Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!