32 |
ImageSize property on 32 (specifies the size of the control' icons)
|
31 |
ImageSize property on 16 (default) (specifies the size of the control' icons)
|
30 |
How can I display the caption in mirror
with Label1 do begin Alignment := EXLABELLib_TLB.CenterAlignment; VAlignment := EXLABELLib_TLB.MiddleAlignment; Caption := '<b>mirror horizontal</b> text'; BackColor := RGB(255,255,255); Rotate := EXLABELLib_TLB.exHTMLMirror; end |
29 |
How can I display vertically the caption
with Label1 do begin Alignment := EXLABELLib_TLB.CenterAlignment; VAlignment := EXLABELLib_TLB.MiddleAlignment; Caption := '<b>vertical</b> text'; BackColor := RGB(255,255,255); Rotate := EXLABELLib_TLB.exHTMLVertical; end |
28 |
Does your control support text decorations
with Label1 do begin WordWrap := True; Caption := '<font ;32><sha ;;0><out><gra FFFFFF>gradient-bottom</gra><br><fgcolor=FFFFFF><gra 000000>gradient-top</gra></fgcolor><br><fgcolo' + 'r=000000><gra F0F0F0;1;1>center-gradient</gra></fgcolor><br><sha><out><gra FFFFFF>gradient-bottom</gra><br><fgcolor=FFFFFF><gra ' + '000000>gradient-top</gra></fgcolor><br><fgcolor=000000><gra F0F0F0;1;1>center-gradient</gra></fgcolor><br>'; end |
27 |
Does you control support padding
with Label1 do begin Appearance := EXLABELLib_TLB.Flat; VAlignment := EXLABELLib_TLB.TopAlignment; Caption := '<fgcolor FFFFFF><bgcolor 000000>left/right and top/bottom padding</bgcolor></fgcolor>'; BorderWidth := 4; BorderHeight := 4; BackColor := RGB(255,255,255); end |
26 |
How can I display multiple-lines label
with Label1 do begin WordWrap := True; Caption := '<b>1.</b> This is the first line<br><b>2.</b> This is the second line.'; end |
25 |
How can I disable the control
with Label1 do begin Enabled := False; Alignment := EXLABELLib_TLB.CenterAlignment; Caption := 'Command'; end |
24 |
How can I display a percent bar over the control
// Click event - Occurs when the user presses and then releases the left mouse button over the control. procedure TForm1.Label1Click(ASender: TObject; ); begin with Label1 do begin BackgroundExtValue[EXLABELLib_TLB.exIndexExt5,EXLABELLib_TLB.exClientExt] := '25%'; BackgroundExtValue[EXLABELLib_TLB.exIndexExt5,EXLABELLib_TLB.exTextExt] := BackgroundExtValue[EXLABELLib_TLB.exIndexExt5,EXLABELLib_TLB.exClientExt]; end end; with Label1 do begin Alignment := EXLABELLib_TLB.CenterAlignment; Caption := 'Command'; VAlignment := EXLABELLib_TLB.TopAlignment; BackgroundExt := 'bottom[4],left[4],right[4],bottom[16,pattern=0x000,frame=RGB(0,0,0)](left[50%,back=RGB(0,255,0),text=`<font ;6><sha ;;0>50%`,ali' + 'gn=0x11,pattern=0x006,patterncolor=RGB(0,128,0),frame=RGB(0,128,0)])'; BackgroundExtValue[EXLABELLib_TLB.exIndexExt5,EXLABELLib_TLB.exClientExt] := '75%'; BackgroundExtValue[EXLABELLib_TLB.exIndexExt5,EXLABELLib_TLB.exTextExt] := BackgroundExtValue[EXLABELLib_TLB.exIndexExt5,EXLABELLib_TLB.exClientExt]; end |
23 |
Is it possible to display an additional caption on the control's background
|
22 |
How can I display a pattern over the label
|
21 |
How can I display pictures
with Label1 do begin Alignment := EXLABELLib_TLB.CenterAlignment; HTMLPicture['pic1'] := 'c:\exontrol\images\zipdisk.gif'; HTMLPicture['pic2'] := 'c:\exontrol\images\auction.gif'; Caption := 'text and pictures <img>pic1</img>,<img>pic2</img>,...'; end |
20 |
How can I display icons
|
19 |
How can I specify a different foreground color for a portion of the caption only
with Label1 do begin BackColor := RGB(255,255,255); Caption := 'text <fgcolor FF0000>foreground</fgcolor> text'; end |
18 |
How can I specify a different background color for a portion of the caption only
with Label1 do begin BackColor := RGB(255,255,255); Caption := 'text <bgcolor FF0000>background</bgcolor> text'; end |
17 |
Does your control support subscript or superscript, in HTML captions
|
16 |
How can I center the text and underlined with a dot line
|
15 |
Is there anyway to get the dotline or solidline to extend across the entire width of the caption area when text is centre-aligned horizontally
with Label1 do begin WordWrap := True; Caption := '<c>Name&Address<br><upline><dotline> <c><font Tahoma;8>DeliveryNotes</font>'; Alignment := EXLABELLib_TLB.LeftAlignment; BackColor := RGB(0,0,0); ForeColor := RGB(255,255,255); end |
14 |
How can I show a thick frame around the label
|
13 |
How can I add text decorations ( shadow )
with Label1 do begin BackColor := RGB(255,255,255); WordWrap := True; BorderWidth := 2; BorderHeight := 2; Caption := '<font ;28><sha>shadow</sha><br><fgcolor=FFFFFF><sha 0>outline</sha><br><sha 0;;0>outline anti-aliasing</sha><br><sha 808080;8;0>' + 'outline anti-aliasing</sha><br><sha 0;2;0>outline anti-aliasing</sha></font>'; end |
12 |
How can I add text decorations ( outline )
with Label1 do begin BackColor := RGB(255,255,255); WordWrap := True; BorderWidth := 2; BorderHeight := 2; Caption := '<font ;28><out>outline</out><br><fgcolor=FFFFFF><out 0>outline</out><br><sha 0;;0>outline anti-aliasing</sha><br><sha 0;2;0>outl' + 'ine anti-aliasing</sha></font>'; end |
11 |
How can I add text decorations ( gradient )
with Label1 do begin WordWrap := True; Caption := '<font ;14><gra FFFFFF>gradient-bottom</gra><br><fgcolor=FFFFFF><gra 000000>gradient-top</gra></fgcolor><br><fgcolor=000000><gra ' + 'F0F0F0;1;1>center-gradient</gra></fgcolor><br>'; end |
10 |
Is it possible to display the control's tooltip using colord EBN objects
with Label1 do begin VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn'); Caption := 'just hover the cursor over the control'; Alignment := EXLABELLib_TLB.CenterAlignment; Background[EXLABELLib_TLB.exToolTipAppearance] := $1ff0000; ToolTipText := 'This is just a text that''s displayed when the user clicks and drags the thumb to a new position'; end |
9 |
Is it possible to display the control's tooltip using EBN objects
with Label1 do begin VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn'); Caption := 'just hover the cursor over the control'; Alignment := EXLABELLib_TLB.CenterAlignment; Background[EXLABELLib_TLB.exToolTipAppearance] := $1000000; ToolTipText := 'This is just a text that''s displayed when the user clicks and drags the thumb to a new position'; end |
8 |
How do I change the control's tooltip
|
7 |
Is it possible to display a colored EBN so the borders will be transparent
with Label1 do begin VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn'); Appearance := EXLABELLib_TLB.AppearanceEnum($1a88a58 Or Integer(EXLABELLib_TLB.Bump)); Caption := 'just the label''s caption'; Alignment := EXLABELLib_TLB.CenterAlignment; end |
6 |
Is it possible to display an EBN so the borders will be transparent
with Label1 do begin VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn'); Appearance := EXLABELLib_TLB.AppearanceEnum($1000000); Caption := 'just the label''s caption'; Alignment := EXLABELLib_TLB.CenterAlignment; end |
5 |
How do I put/resize/stretch a picture on the control's background
with Label1 do begin Picture := Label1.ExecuteTemplate('loadpicture(`c:\exontrol\images\zipdisk.gif`)'); PictureDisplay := EXLABELLib_TLB.Stretch; BorderWidth := 64; BorderHeight := 64; end |
4 |
How can I change the control's font
|
3 |
How can I change the control's font
|
2 |
How do I change the control's foreground color
with Label1 do begin ForeColor := RGB(255,0,0); Caption := 'just the label''s caption'; BorderWidth := 8; BorderHeight := 8; end |
1 |
How do I change the control's background color
with Label1 do begin BackColor := RGB(255,0,0); end |