diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2011-02-07 16:43:29 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2011-02-07 16:43:29 +0200 |
commit | d28293f1e56484a4217cce8febcdc0cec76a262d (patch) | |
tree | c5745ccbf505a0fb12a5bbcec381bdc3672eb71c /uidesigner | |
parent | 5b563daf33136c0b45cf9f8cc8b3d804350f32ce (diff) | |
download | fpGUI-d28293f1e56484a4217cce8febcdc0cec76a262d.tar.xz |
UIDesigner: Combobox FocusItem is now after Items property.
This means the UI Designer can correctly apply the FocusItem, because
Items would already exist.
Diffstat (limited to 'uidesigner')
-rw-r--r-- | uidesigner/vfdwidgets.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uidesigner/vfdwidgets.pas b/uidesigner/vfdwidgets.pas index ad59b900..2e031e37 100644 --- a/uidesigner/vfdwidgets.pas +++ b/uidesigner/vfdwidgets.pas @@ -470,10 +470,10 @@ begin wc.AddProperty('BackgroundColor', TPropertyColor, ''); wc.AddProperty('Enabled', TPropertyBoolean, ''); wc.AddProperty('ExtraHint', TPropertyString, 'Extra hint that appears inside component while no item is selected'); - wc.AddProperty('FocusItem', TPropertyInteger, 'Currently selected item'); wc.AddProperty('FontDesc', TPropertyFontDesc, 'The font used for displaying the text'); wc.AddProperty('Hint', TPropertyString, 'Tooltip hint'); wc.AddProperty('Items', TPropertyStringList, ''); + wc.AddProperty('FocusItem', TPropertyInteger, 'Currently selected item'); // must be after 'Items' property for UI Designer! wc.AddProperty('ParentShowHint', TPropertyBoolean, ''); wc.AddProperty('ShowHint', TPropertyBoolean, ''); wc.AddProperty('TabOrder', TPropertyInteger, 'The tab order'); |