You've already forked lazarus-ccr
jvcllaz: Add TJvOfficeColorButton. Some cosmetic changes, less hints and warnings.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7006 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -270,6 +270,13 @@ begin
|
||||
ts := Canvas.TextStyle;
|
||||
ts.ShowPrefix := false;
|
||||
ts.RightToLeft := IsRightToLeft;
|
||||
ts.ExpandTabs := Flags and DT_EXPANDTABS <> 0;
|
||||
ts.Wordbreak := Flags and DT_WORDBREAK <> 0;
|
||||
ts.SingleLine := not ts.WordBreak;
|
||||
ts.EndEllipsis := Flags and DT_END_ELLIPSIS <> 0;
|
||||
ts.Alignment := taLeftJustify;
|
||||
if Flags and DT_RIGHT <> 0 then ts.Alignment := taRightJustify;
|
||||
if Flags and DT_CENTER <> 0 then ts.Alignment := taCenter;
|
||||
Canvas.Font := Font;
|
||||
if not Enabled then
|
||||
begin
|
||||
|
Reference in New Issue
Block a user