diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/fpg_widget.pas | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/corelib/fpg_widget.pas b/src/corelib/fpg_widget.pas index a1536726..3e4c5bc9 100644 --- a/src/corelib/fpg_widget.pas +++ b/src/corelib/fpg_widget.pas @@ -1076,6 +1076,9 @@ var pw: TfpgWidget; w: TfpgWidget; begin + if FShowHint then + fpgApplication.HideHint; + // setting the focus through all parents pw := Parent; w := self; @@ -1090,7 +1093,8 @@ end; procedure TfpgWidget.HandleRMouseDown(x, y: integer; shiftstate: TShiftState); begin - // do nothing yet + if FShowHint then + fpgApplication.HideHint; end; procedure TfpgWidget.HandleLMouseUp(x, y: integer; shiftstate: TShiftState); |