summaryrefslogtreecommitdiff
path: root/src/gui/fpg_button.pas
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/fpg_button.pas')
-rw-r--r--src/gui/fpg_button.pas8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gui/fpg_button.pas b/src/gui/fpg_button.pas
index 3bc026de..0cbb1397 100644
--- a/src/gui/fpg_button.pas
+++ b/src/gui/fpg_button.pas
@@ -1,7 +1,7 @@
{
fpGUI - Free Pascal GUI Toolkit
- Copyright (C) 2006 - 2010 See the file AUTHORS.txt, included in this
+ Copyright (C) 2006 - 2013 See the file AUTHORS.txt, included in this
distribution, for details of the copyright.
See the file COPYING.modifiedLGPL, included in this distribution,
@@ -171,6 +171,9 @@ type
property OnDragLeave;
property OnDragDrop;
property OnDragStartDetected;
+ property OnEnter;
+ property OnExit;
+ property OnKeyPress;
property OnMouseDown;
property OnMouseExit;
property OnMouseEnter;
@@ -543,6 +546,9 @@ begin
if FEmbedded then
Include(lBtnFlags, btfIsEmbedded);
+ if not Enabled then
+ Include(lBtnFlags, btfDisabled);
+
// In the UI Designer we want the button more visible
if not (csDesigning in ComponentState) then
begin