diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2014-10-17 00:27:19 +0100 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2014-10-17 00:27:19 +0100 |
commit | 2ace7bff124ecb2b1172a4d878bfc1750ddd9efa (patch) | |
tree | 72c75e322add7126d5fcf26fbe698ec947869810 /uidesigner | |
parent | 6381d5efe324d7047d0b8026324ee46468d47b40 (diff) | |
download | fpGUI-2ace7bff124ecb2b1172a4d878bfc1750ddd9efa.tar.xz |
uidesigner: registered Min/MaxValue properties of Integer and Float Edit widgets
Diffstat (limited to 'uidesigner')
-rw-r--r-- | uidesigner/vfdwidgets.pas | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/uidesigner/vfdwidgets.pas b/uidesigner/vfdwidgets.pas index 575ae40a..7362b8d2 100644 --- a/uidesigner/vfdwidgets.pas +++ b/uidesigner/vfdwidgets.pas @@ -799,6 +799,8 @@ begin wc.AddProperty('Enabled', TPropertyBoolean, ''); wc.AddProperty('FontDesc', TPropertyFontDesc, 'The font used for displaying the text'); wc.AddProperty('Hint', TPropertyString, 'Tooltip hint'); + wc.AddProperty('MaxValue', TPropertyInteger, ''); + wc.AddProperty('MinValue', TPropertyInteger, ''); wc.AddProperty('NegativeColor', TPropertyColor, 'Color used for negative values'); wc.AddProperty('ParentShowHint', TPropertyBoolean, ''); wc.AddProperty('ReadOnly', TPropertyBoolean, ''); @@ -820,6 +822,8 @@ begin wc.AddProperty('FixedDecimals', TPropertyBoolean, ''); wc.AddProperty('FontDesc', TPropertyFontDesc, 'The font used for displaying the text'); wc.AddProperty('Hint', TPropertyString, 'Tooltip hint'); + wc.AddProperty('MaxValue', TPropertyFloat, ''); + wc.AddProperty('MinValue', TPropertyFloat, ''); wc.AddProperty('NegativeColor', TPropertyColor, 'Color used for negative values'); wc.AddProperty('ParentShowHint', TPropertyBoolean, ''); wc.AddProperty('ReadOnly', TPropertyBoolean, ''); |