summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2009-03-13 09:55:25 +0000
committergraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2009-03-13 09:55:25 +0000
commitc8e9ba0be09e585d373fe1352105678bfdad30fd (patch)
treecde0b596d6dde8f4a00e3ec98e2b0fc25c49165f /src
parent8a1355888d27675996e52c95c7c92f82c1243cb5 (diff)
downloadfpGUI-c8e9ba0be09e585d373fe1352105678bfdad30fd.tar.xz
plans for future enhancements to edit components.
Diffstat (limited to 'src')
-rw-r--r--src/gui/fpg_edit.pas9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gui/fpg_edit.pas b/src/gui/fpg_edit.pas
index 9a653422..7a282adc 100644
--- a/src/gui/fpg_edit.pas
+++ b/src/gui/fpg_edit.pas
@@ -15,6 +15,15 @@
Defines a Text Edit control. Also known a Text Entry control.
}
+// Future enhancements:
+{ TODO -cEventHandler : OnSetText - same as OnSetValue but before SetValue. }
+{ TODO -cEventHandler : OnGetText - Returns a string used for displaying in GUI. May be different to Value property.
+ Add extra parameter so we know if we need to display the formatted text
+ or the 'value' text. The latter is for when the component has focus. }
+{ TODO -cEventHandler : OnTextEdited - per character evaluation. }
+{ TODO -cEventHandler : OnSetValue - fired after ENTER but before Value is set. AValue can be rejected or changed. }
+{ TODO -cEventHandler : OnDataEntered - fired after new value has been accepted and Value property has been set. }
+
unit fpg_edit;
{$mode objfpc}{$H+}