| Class TScroll (unit Uscroll) |
An object to scroll text
| Constructors |
constructor Create(hdc:Thandle;FontName:string;FontSize:integer;FontColor:TColorref;
left,top,RectWidth,RectHeight:integer);| Functions |
destructor destroy;
function DrawGraph(hdc:Thandle):Trect;
procedure TextOutEnd(hdc:thandle;iniy:integer);| Properties |
property Scroll : integer
property Strings : Tstringlist| Events |
| Variables |
FCychar : integer;
FDrawy : integer;
FFont : Thandle;
FFontColor : Tcolorref;
FScroll : integer;
Fstrings : Tstringlist;
Ftextrect : Trect;| Constructors |
constructor Create(hdc:Thandle;FontName:string;FontSize:integer;FontColor:TColorref;
left,top,RectWidth,RectHeight:integer);TScroll
| Functions |
destructor destroy;
function DrawGraph(hdc:Thandle):Trect;
procedure TextOutEnd(hdc:thandle;iniy:integer);centers text
| Properties |
property Scroll : integer
property Strings : Tstringlist| Events |
| Variables |
FCychar : integer;
FDrawy : integer;
FFont : Thandle;
FFontColor : Tcolorref;
FScroll : integer;
Fstrings : Tstringlist;scroll speed in pixels per frame
Ftextrect : Trect;