summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2010-10-29 13:37:46 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2010-10-29 13:37:46 +0200
commit6b581c77c401905e5bf72ed6aa133f0e046126a2 (patch)
tree260537acd4e1b7e38928c8500d9aedae3afe1595 /src/gui
parente6eb439e31dbbeb21db5c1d017021e4a7081ed0b (diff)
downloadfpGUI-6b581c77c401905e5bf72ed6aa133f0e046126a2.tar.xz
Published the DND propertys for some of the most used components.
This is so they can be tested. Once DND stabilizes, I'll make the properties available on the other components too.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/fpg_combobox.pas5
-rw-r--r--src/gui/fpg_edit.pas2
-rw-r--r--src/gui/fpg_label.pas1
-rw-r--r--src/gui/fpg_listbox.pas10
-rw-r--r--src/gui/fpg_panel.pas15
5 files changed, 33 insertions, 0 deletions
diff --git a/src/gui/fpg_combobox.pas b/src/gui/fpg_combobox.pas
index bb6f90b2..5afbf326 100644
--- a/src/gui/fpg_combobox.pas
+++ b/src/gui/fpg_combobox.pas
@@ -135,6 +135,7 @@ type
TfpgComboBox = class(TfpgBaseStaticCombo)
published
+ property AcceptDrops;
property Align;
property BackgroundColor default clBoxColor;
property DropDownCount;
@@ -155,6 +156,10 @@ type
property Width;
property OnChange;
property OnCloseUp;
+ property OnDragDrop;
+ property OnDragEnter;
+ property OnDragLeave;
+ property OnDragStartDetected;
property OnDropDown;
property OnEnter;
property OnExit;
diff --git a/src/gui/fpg_edit.pas b/src/gui/fpg_edit.pas
index f6c7e6b4..dd7958ab 100644
--- a/src/gui/fpg_edit.pas
+++ b/src/gui/fpg_edit.pas
@@ -159,6 +159,7 @@ type
public
property PopupMenu; // UI Designer doesn't fully support it yet
published
+ property AcceptDrops;
property Align;
property AutoSelect;
property AutoSize;
@@ -184,6 +185,7 @@ type
property OnDragEnter;
property OnDragLeave;
property OnDragDrop;
+ property OnDragStartDetected;
property OnEnter;
property OnExit;
property OnKeyPress;
diff --git a/src/gui/fpg_label.pas b/src/gui/fpg_label.pas
index 10e58fbf..0f9c8b4b 100644
--- a/src/gui/fpg_label.pas
+++ b/src/gui/fpg_label.pas
@@ -68,6 +68,7 @@ type
TfpgLabel = class(TfpgCustomLabel)
published
+ property AcceptDrops;
property Align;
property Alignment;
property AutoSize;
diff --git a/src/gui/fpg_listbox.pas b/src/gui/fpg_listbox.pas
index 6a336a5c..a0cb8e93 100644
--- a/src/gui/fpg_listbox.pas
+++ b/src/gui/fpg_listbox.pas
@@ -134,6 +134,7 @@ type
// The standard strings listbox we will actually use in a GUI.
TfpgListBox = class(TfpgTextListBox)
published
+ property AcceptDrops;
property Align;
property AutoHeight;
property BackgroundColor default clListBox;
@@ -152,6 +153,10 @@ type
property TextColor;
property OnChange;
property OnDoubleClick;
+ property OnDragDrop;
+ property OnDragEnter;
+ property OnDragLeave;
+ property OnDragStartDetected;
property OnEnter;
property OnExit;
property OnKeyPress;
@@ -203,6 +208,7 @@ type
TfpgColorListBox = class(TfpgBaseColorListBox)
published
+ property AcceptDrops;
property Align;
property AutoHeight;
property BackgroundColor default clListBox;
@@ -221,6 +227,10 @@ type
property ShowHint;
property TabOrder;
property TextColor;
+ property OnDragEnter;
+ property OnDragLeave;
+ property OnDragDrop;
+ property OnDragStartDetected;
end;
diff --git a/src/gui/fpg_panel.pas b/src/gui/fpg_panel.pas
index 191dafc2..66ed5778 100644
--- a/src/gui/fpg_panel.pas
+++ b/src/gui/fpg_panel.pas
@@ -73,6 +73,7 @@ type
protected
procedure HandlePaint; override;
published
+ property AcceptDrops;
property Align;
property BackgroundColor;
property BorderStyle;
@@ -93,6 +94,10 @@ type
property Width;
property OnClick;
property OnDoubleClick;
+ property OnDragDrop;
+ property OnDragEnter;
+ property OnDragLeave;
+ property OnDragStartDetected;
property OnMouseDown;
property OnMouseMove;
property OnMouseUp;
@@ -131,6 +136,7 @@ type
destructor Destroy; override;
property Font: TfpgFont read FFont;
published
+ property AcceptDrops;
property Align;
property Alignment: TAlignment read GetAlignment write SetAlignment default taCenter;
property BackgroundColor;
@@ -158,6 +164,10 @@ type
property WrapText: boolean read GetWrapText write SetWrapText default False;
property OnClick;
property OnDoubleClick;
+ property OnDragDrop;
+ property OnDragEnter;
+ property OnDragLeave;
+ property OnDragStartDetected;
property OnPaint;
property OnShowHint;
end;
@@ -185,6 +195,7 @@ type
function GetClientRect: TfpgRect; override;
property Font: TfpgFont read FFont;
published
+ property AcceptDrops;
property Align;
property Alignment: TAlignment read GetAlignment write SetAlignment default taLeftJustify;
property BackgroundColor;
@@ -208,6 +219,10 @@ type
property Width;
property OnClick;
property OnDoubleClick;
+ property OnDragDrop;
+ property OnDragEnter;
+ property OnDragLeave;
+ property OnDragStartDetected;
property OnPaint;
property OnShowHint;
end;