summaryrefslogtreecommitdiff
path: root/uidesigner/vfdwidgets.pas
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2010-04-07 12:32:59 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2010-04-07 12:32:59 +0200
commit2b0bb6d1167e479404bd5d616f4d6155b1a92255 (patch)
tree364ebdb5572305754a0fb383b08e9240fb946abe /uidesigner/vfdwidgets.pas
parent063cf4313bff63e6ec61596e681ac9674b1b7a49 (diff)
downloadfpGUI-2b0bb6d1167e479404bd5d616f4d6155b1a92255.tar.xz
ModalResult changed to a enum type
* Replaced all magic number modal results with actual enum values * UI Designer now uses enum combolist for ModalResult type in Object Inspector. * UI Designer now handles default values of ModalResult property correctly.
Diffstat (limited to 'uidesigner/vfdwidgets.pas')
-rw-r--r--uidesigner/vfdwidgets.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/uidesigner/vfdwidgets.pas b/uidesigner/vfdwidgets.pas
index 597a6a30..112462f4 100644
--- a/uidesigner/vfdwidgets.pas
+++ b/uidesigner/vfdwidgets.pas
@@ -360,7 +360,7 @@ begin
wc.AddProperty('ImageMargin', TPropertyInteger, 'Space between image and border, -1 centers image/text');
wc.AddProperty('ImageName', TPropertyString, '');
wc.AddProperty('ImageSpacing', TPropertyInteger, 'Space between image and text, -1 centers text');
- wc.AddProperty('ModalResult', TPropertyInteger, '');
+ wc.AddProperty('ModalResult', TPropertyEnum, 'Modal Result returned and overrides the OnClick event handler');
wc.AddProperty('ParentShowHint', TPropertyBoolean, '');
wc.AddProperty('ShowHint', TPropertyBoolean, '');
wc.AddProperty('ShowImage', TPropertyBoolean, 'Boolean value');