diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2010-09-25 13:14:58 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2010-09-25 13:14:58 +0200 |
commit | e7837ddc049720b88965fe2a2e9621755899b6a7 (patch) | |
tree | 5bcc971c86a90cd06ffe577955c812ce88233687 /src/gui | |
parent | 67bff74bc9a198f8be78bcd1c9e136ccfea89d86 (diff) | |
download | fpGUI-e7837ddc049720b88965fe2a2e9621755899b6a7.tar.xz |
published DND events for Button, Edit and Label components.
This is just a start, so a few widgets can be tested with DND. After DND has
be tested more, other widgets will get the published properties too.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/fpg_button.pas | 4 | ||||
-rw-r--r-- | src/gui/fpg_edit.pas | 3 | ||||
-rw-r--r-- | src/gui/fpg_label.pas | 4 |
3 files changed, 11 insertions, 0 deletions
diff --git a/src/gui/fpg_button.pas b/src/gui/fpg_button.pas index 032fcf47..f2bda769 100644 --- a/src/gui/fpg_button.pas +++ b/src/gui/fpg_button.pas @@ -157,6 +157,10 @@ type property Top; property Width; property OnClick; + property OnDragEnter; + property OnDragLeave; + property OnDragDrop; + property OnDragStartDetected; property OnMouseDown; property OnMouseExit; property OnMouseEnter; diff --git a/src/gui/fpg_edit.pas b/src/gui/fpg_edit.pas index ea6fe1b2..a3207f6a 100644 --- a/src/gui/fpg_edit.pas +++ b/src/gui/fpg_edit.pas @@ -179,6 +179,9 @@ type property Text; property TextColor; property OnChange; + property OnDragEnter; + property OnDragLeave; + property OnDragDrop; property OnEnter; property OnExit; property OnKeyPress; diff --git a/src/gui/fpg_label.pas b/src/gui/fpg_label.pas index 409116b9..eeecf9b6 100644 --- a/src/gui/fpg_label.pas +++ b/src/gui/fpg_label.pas @@ -90,6 +90,10 @@ type property Width; property WrapText; property OnClick; + property OnDragEnter; + property OnDragLeave; + property OnDragDrop; + property OnDragStartDetected; property OnDoubleClick; property OnMouseDown; property OnMouseEnter; |