function NewLabel( AParent: PControl; const Caption: KOLString ): PControl;
Creates static text control (native Windows STATIC control). Use property Caption at run time to change label text. Also it is possible to adjust label Font , Brush or Color. Label can be Transparent . If You want to have rotated text label, call NewLabelEffect instead and change its Font.FontOrientation.
Other references certain for a label:
property Caption: KOLString; |
|
---|---|
property TextAlign: TTextAlign; |
|
property VerticalAlign: TVerticalAlign; |