diff options
author | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-02-05 10:52:03 +0000 |
---|---|---|
committer | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-02-05 10:52:03 +0000 |
commit | aa8e6c9b6d27812861350ac6d21690068b31f8f9 (patch) | |
tree | 872f685a864ec34ef2f2ec93d226100fcd40c6a9 /examples | |
parent | 42e68e39cb7f0a790af45ef43dc81e4542638efc (diff) | |
download | fpGUI-aa8e6c9b6d27812861350ac6d21690068b31f8f9.tar.xz |
Applied patch from Slapshot fixing the TVFDPropertyEditor class. BackgroupColor property issue.
* I reverted the gui_memo.pas changes from r504 to fix a cursor focus issue when the memo contains no text. I will attend to this issue soon, so we don't have to force adding a blank line.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/apps/uidesigner/newformdesigner.pas | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/apps/uidesigner/newformdesigner.pas b/examples/apps/uidesigner/newformdesigner.pas index 110a21ec..25fffc61 100644 --- a/examples/apps/uidesigner/newformdesigner.pas +++ b/examples/apps/uidesigner/newformdesigner.pas @@ -118,7 +118,6 @@ type editor: TVFDPropertyEditor; NameDrag: boolean; NameDragPos: integer; - BackgroundColor: TfpgColor; constructor Create(AOwner: TComponent); override; procedure ReleaseEditor; procedure AllocateEditor; @@ -753,7 +752,7 @@ begin Inc(x); // Drawing the contents r.SetRect(x, y, rect.right - x, rect.Height); - Canvas.SetColor(FBackgroundColor); + Canvas.SetColor(BackgroundColor); Canvas.FillRectangle(r); Canvas.SetTextColor(clText1); Inc(r.left, 2); |