summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@gmail.com>2013-08-27 10:48:27 +0100
committerGraeme Geldenhuys <graemeg@gmail.com>2013-08-27 10:50:16 +0100
commite5c26324bd2199f3e54ce10834b30c712987057d (patch)
tree7b88237277350885de80a9b8183f7d0f9c307141
parentbaddca52b3c35a8526c6143be723806f39572f03 (diff)
downloadfpGUI-e5c26324bd2199f3e54ce10834b30c712987057d.tar.xz
Published some useful events for TfpgFileGrid and TfpgStringGrid
-rw-r--r--src/gui/fpg_grid.pas16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/gui/fpg_grid.pas b/src/gui/fpg_grid.pas
index d173650e..07183e0d 100644
--- a/src/gui/fpg_grid.pas
+++ b/src/gui/fpg_grid.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,
@@ -68,8 +68,17 @@ type
property ScrollBarStyle;
property TabOrder;
property TopRow;
- property OnRowChange;
+ property OnClick;
property OnDoubleClick;
+ property OnEnter;
+ property OnExit;
+ property OnKeyPress;
+ property OnMouseDown;
+ property OnMouseEnter;
+ property OnMouseExit;
+ property OnMouseMove;
+ property OnMouseUp;
+ property OnRowChange;
property OnShowHint;
end;
@@ -160,6 +169,8 @@ type
property OnClick;
property OnDoubleClick;
property OnDrawCell;
+ property OnEnter;
+ property OnExit;
property OnFocusChange;
property OnHeaderClick;
property OnKeyPress;
@@ -172,6 +183,7 @@ type
property OnShowHint;
end;
+
function CreateStringGrid(AOwner: TComponent; x, y, w, h: TfpgCoord; AColumnCount: integer = 0): TfpgStringGrid;