diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2011-08-04 17:19:06 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2011-08-04 17:19:06 +0200 |
commit | 5526637925536ab545de937153889dd0c08b64f3 (patch) | |
tree | 75f5741e1aa77b7e770b962d61f864e23f17f391 /examples/gui/treeviewtest | |
parent | 365d36929ba9c0d49836df6144d22d98faf65343 (diff) | |
download | fpGUI-5526637925536ab545de937153889dd0c08b64f3.tar.xz |
minor fixes to examples due to Item[] to Items[] change.
Diffstat (limited to 'examples/gui/treeviewtest')
-rw-r--r-- | examples/gui/treeviewtest/treeviewtest.lpr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/gui/treeviewtest/treeviewtest.lpr b/examples/gui/treeviewtest/treeviewtest.lpr index 5b46b277..bca0a91d 100644 --- a/examples/gui/treeviewtest/treeviewtest.lpr +++ b/examples/gui/treeviewtest/treeviewtest.lpr @@ -213,8 +213,8 @@ begin if fpgFileExists('../../../images/menu_preferences_16.bmp') then begin FImagelist.AddItemFromFile(SetDirSeparators('../../../images/menu_preferences_16.bmp'), 1); - FImagelist.Item[1].Image.CreateMaskFromSample(0, 0); - FImagelist.Item[1].Image.UpdateImage; + FImagelist.Items[1].Image.CreateMaskFromSample(0, 0); + FImagelist.Items[1].Image.UpdateImage; end; end; |