From 5b97fce2e1442ca77c58bee193a41aa0a20e9e28 Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Fri, 1 Oct 2010 15:09:48 +0200 Subject: minor bugfix in TfpgBaseNumericEdit. Setting NegativeColor doesn't cause a repaint --- src/gui/fpg_edit.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/fpg_edit.pas b/src/gui/fpg_edit.pas index 8e5ec641..3c7e45d7 100644 --- a/src/gui/fpg_edit.pas +++ b/src/gui/fpg_edit.pas @@ -1651,6 +1651,7 @@ procedure TfpgBaseNumericEdit.SetNegativeColor(const AValue: TfpgColor); begin if FNegativeColor=AValue then exit; FNegativeColor:=AValue; + FormatEdit; end; procedure TfpgBaseNumericEdit.SetThousandSeparator(const AValue: TfpgChar); -- cgit v1.2.3-70-g09d2