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:
wp_xxyyzz
2019-06-12 13:21:57 +00:00
parent 21b927cc27
commit 5d9aaa8380
19 changed files with 3290 additions and 31 deletions

View File

@ -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