summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorgraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-07-11 14:50:39 +0000
committergraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-07-11 14:50:39 +0000
commit3ad8ad4117ef86f852b48970cbc2dc1df60aa757 (patch)
tree0258bef065aa9288b5d8d20919406dd9e0202a78 /src/gui
parent6236d49a0621e11cc7f76c4ed904ae5176c34dd4 (diff)
downloadfpGUI-3ad8ad4117ef86f852b48970cbc2dc1df60aa757.tar.xz
* Applied various patches from Jean-Marc.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/gui_basegrid.pas1
-rw-r--r--src/gui/gui_grid.pas2
-rw-r--r--src/gui/gui_memo.pas1
-rw-r--r--src/gui/gui_panel.pas3
4 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/gui_basegrid.pas b/src/gui/gui_basegrid.pas
index a2ca441c..cf6c3594 100644
--- a/src/gui/gui_basegrid.pas
+++ b/src/gui/gui_basegrid.pas
@@ -140,6 +140,7 @@ type
property ColumnWidth[ACol: Integer]: integer read GetColumnWidth write SetColumnWidth;
property ColumnBackgroundColor[ACol: Integer]: TfpgColor read GetColumnBackgroundColor write SetColumnBackgroundColor;
property ColumnTextColor[ACol: Integer]: TfpgColor read GetColumnTextColor write SetColumnTextColor;
+ property VisibleRows: Integer read VisibleLines;
property TopRow: Integer read FFirstRow write SetFirstRow;
property OnDrawCell: TfpgDrawCellEvent read FOnDrawCell write FOnDrawCell;
property OnFocusChange: TfpgFocusChangeNotify read FOnFocusChange write FOnFocusChange;
diff --git a/src/gui/gui_grid.pas b/src/gui/gui_grid.pas
index 6d831d21..59ae77ca 100644
--- a/src/gui/gui_grid.pas
+++ b/src/gui/gui_grid.pas
@@ -134,7 +134,7 @@ type
property ShowHeader;
property TabOrder;
property TopRow;
-// property VisibleRows;
+ property VisibleRows;
property OnCanSelectCell;
property OnDrawCell;
property OnDoubleClick;
diff --git a/src/gui/gui_memo.pas b/src/gui/gui_memo.pas
index 58ea1120..3d160d2a 100644
--- a/src/gui/gui_memo.pas
+++ b/src/gui/gui_memo.pas
@@ -109,6 +109,7 @@ type
property TabOrder;
property TextColor;
property OnChange: TNotifyEvent read FOnChange write FOnChange;
+ property OnKeyPress;
end;
diff --git a/src/gui/gui_panel.pas b/src/gui/gui_panel.pas
index 4f2e5680..474bb4ff 100644
--- a/src/gui/gui_panel.pas
+++ b/src/gui/gui_panel.pas
@@ -67,6 +67,9 @@ type
property Style;
property OnClick;
property OnDoubleClick;
+ property OnMouseDown;
+ property OnMouseUp;
+ property OnPaint;
end;