From e7837ddc049720b88965fe2a2e9621755899b6a7 Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Sat, 25 Sep 2010 13:14:58 +0200 Subject: 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. --- src/gui/fpg_button.pas | 4 ++++ src/gui/fpg_edit.pas | 3 +++ src/gui/fpg_label.pas | 4 ++++ 3 files changed, 11 insertions(+) (limited to 'src/gui') 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; -- cgit v1.2.3-70-g09d2