summaryrefslogtreecommitdiff
path: root/uidesigner
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2010-04-01 15:36:40 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2010-04-01 15:36:40 +0200
commitf25cfbc7ffd87929e317e80a7021b70d5bf5ad1a (patch)
tree1cb8e2c97dd090c7e4b1b81a5a72fb9609102d2f /uidesigner
parent3c93212823f53b08f04f9f5e342ae3c8ca502a27 (diff)
downloadfpGUI-f25cfbc7ffd87929e317e80a7021b70d5bf5ad1a.tar.xz
UI Designer: Published three new properties.
New properties in Object Inspector for TfpgEdit is: * AutoSelect * AutoSize * BorderStyle
Diffstat (limited to 'uidesigner')
-rw-r--r--uidesigner/vfdwidgets.pas3
1 files changed, 3 insertions, 0 deletions
diff --git a/uidesigner/vfdwidgets.pas b/uidesigner/vfdwidgets.pas
index f9338b56..597a6a30 100644
--- a/uidesigner/vfdwidgets.pas
+++ b/uidesigner/vfdwidgets.pas
@@ -321,6 +321,9 @@ begin
wc := TVFDWidgetClass.Create(TfpgEdit);
wc.NameBase := 'Edit';
// wc.AddProperty('Color', TPropertyColor, 'Text color');
+ wc.AddProperty('AutoSelect', TPropertyBoolean, 'On receiving focus, auto select text');
+ wc.AddProperty('AutoSize', TPropertyBoolean, 'Change Height based on FontDesc being set');
+ wc.AddProperty('BorderStyle', TPropertyEnum, '');
wc.AddProperty('Hint', TPropertyString, 'Tooltip hint');
wc.AddProperty('TabOrder', TPropertyInteger, 'The tab order');
wc.AddProperty('Text', TPropertyString, 'Initial text');