maxim
b7ed54fe7a
Merged revision(s) 51639 #47106ebc21 from trunk:
...
ShellTreeView: make PopulateWithBaseFiles public. Makes it possible to populate a ShelltreeView that was created at runtime.
........
git-svn-id: branches/fixes_1_6@51653 -
2016-02-18 06:29:14 +00:00
maxim
beecbb57ad
Merged revision(s) 51037 #cc42e8d513 from trunk:
...
ShellListView: allow for case-sensitive masks. Issue #0029255 . Patch by ruewa, modified by me.
........
git-svn-id: branches/fixes_1_6@51077 -
2015-12-28 22:19:16 +00:00
maxim
031141afd4
Merged revision(s) 50772 #2ab84755d1 from trunk:
...
LCL: ShellCtrls: less hints.
........
git-svn-id: branches/fixes_1_6@50783 -
2015-12-13 22:52:21 +00:00
maxim
3e3b5385e1
Merged revision(s) 50648 #c45aa54c62 from trunk:
...
TShellTreeView:
- Yet another attempt to fix SetPath (Issue #0026088 )
- Ifdef the code for debug output.
........
git-svn-id: branches/fixes_1_6@50705 -
2015-12-06 21:14:09 +00:00
bart
ca600365bc
TShellTreeView: fix populating the tree when FileSortType at designtime is not fstNone. Issue #0028565 .
...
git-svn-id: trunk@49741 -
2015-09-02 16:10:41 +00:00
bart
e9b079631b
TShellTreeView: publish properties StateImages, OnGetImageIndex and OnGetSelectedIndex. Patch by wp. Issue #0028539
...
git-svn-id: trunk@49686 -
2015-08-19 09:09:08 +00:00
bart
a0ac7864a9
ShellCtrls: make TShellListView.Columns public (Delphi compatibility). Issue #0027786 .
...
git-svn-id: trunk@48635 -
2015-04-05 16:32:10 +00:00
bart
e3541a5e4e
TShellTreeView: deprecate function GetSelectedNodePath, since it's redundant.
...
git-svn-id: trunk@48302 -
2015-03-12 18:13:16 +00:00
bart
2b8df67b6d
TShellTreeView: publish some more events. Patch by ocean. Issue #0027640 .
...
git-svn-id: trunk@48257 -
2015-03-11 11:59:51 +00:00
bart
7419d9721f
TShellTreeView: override DoCreateNodeClass instead of using OnCreateNodeClass.
...
git-svn-id: trunk@48184 -
2015-03-09 19:31:06 +00:00
bart
592e9bb6af
TShellTreeView: CleanUp.
...
git-svn-id: trunk@48168 -
2015-03-08 11:03:33 +00:00
bart
d305767d2e
TShellTreeView: return empty string in GetPathFromNode if Node is nil (Compatible with Delphi's TShellTreeView.GetPath).
...
git-svn-id: trunk@48167 -
2015-03-08 10:54:40 +00:00
bart
48e9a6c09a
TShellTreeView: refactor: store file/path information in treenodes.
...
git-svn-id: trunk@48166 -
2015-03-08 10:49:22 +00:00
bart
002d3acb17
TShellTreeView: don't call SetObjectType in constructor. Part of issue #0027591 .
...
git-svn-id: trunk@48135 -
2015-03-04 16:08:47 +00:00
bart
44025191b0
ShellCtrls: don't raise unspecified exceptions for errors specific to shellctrls. (Not Delphi compatible, but won't break anything, and ShellCtrls isn't very Delphi compatible.)
...
git-svn-id: trunk@48134 -
2015-03-04 15:48:26 +00:00
bart
880871e653
TShellTreeView: setpath: adjust for the fact that some Windows versions report faHidden on drive roots (e.g. C:\). Second attempt to fix #0027591 .
...
git-svn-id: trunk@48125 -
2015-03-04 10:32:37 +00:00
bart
bed5f4bc45
TShellTreeView: setpath: only check for hidden dirs in folders below the root. Fixes issue #0027591 .
...
git-svn-id: trunk@48121 -
2015-03-03 20:00:10 +00:00
bart
d8dd2b9b78
TShellTreeView: when a TShellListView is attached, handle selecting items that do not exist anymore on disk.
...
git-svn-id: trunk@48072 -
2015-03-01 12:43:41 +00:00
bart
5dc968befc
TShellTreeView: better fix not displaying files in connected ShellListView. Issue #0027571 .
...
git-svn-id: trunk@48063 -
2015-03-01 12:13:05 +00:00
bart
cdf532fad5
TShellTreeView: fix not displaying files in connected ShellListView. Issue #0027571 .
...
git-svn-id: trunk@48056 -
2015-02-28 23:00:24 +00:00
bart
01be30d9d0
TShellTreeView: SetPath: take value of ObjectTypes into account.
...
git-svn-id: trunk@47881 -
2015-02-18 17:11:18 +00:00
maxim
9957d9ec61
LCL, ShellTreeView: improved i18n, patch by Péter Gábor with some changes, bug #27474 ; regenerated translations and updated Russian translation
...
git-svn-id: trunk@47842 -
2015-02-16 23:45:18 +00:00
juha
7110836ddc
LCL: New event OnFileAdded for TShellListView. Issue #27422 , patch from theo.
...
git-svn-id: trunk@47836 -
2015-02-16 21:49:23 +00:00
bart
77859a69e3
TShellTreeView: if Selected is a file then set the associated ShellListView.Root to the parentfolder (instead of to the file itself).
...
git-svn-id: trunk@47815 -
2015-02-15 23:35:17 +00:00
mattias
442759f8f3
LCL: TShellCtrl: less calling ProcessMessages
...
git-svn-id: trunk@47792 -
2015-02-15 00:37:24 +00:00
mattias
79346fc245
LCL: TShellCtrl: check for duplicates using avl tree
...
git-svn-id: trunk@47791 -
2015-02-15 00:34:49 +00:00
bart
d54f5572fa
ShellTreeView: refresh the tree when ObjectTypes is changed. Based upon a patch by theo.
...
git-svn-id: trunk@47743 -
2015-02-13 17:24:40 +00:00
bart
9e7fa223d3
ShellTreeView:
...
- respect the designtime settings of ObjectTypes.
- add DbgS() for TObjectTypes
git-svn-id: trunk@47690 -
2015-02-10 21:55:47 +00:00
bart
2f6091443d
ShellTreeView: comment out some redundant code.
...
git-svn-id: trunk@47687 -
2015-02-10 21:05:02 +00:00
bart
81193487b6
ShellTreeView: change the logic of showing an expandsign so that the same logic of r47650 #cb26c9b482 is applied wether or not [otHidden] is specified.
...
git-svn-id: trunk@47686 -
2015-02-10 18:39:20 +00:00
bart
cb26c9b482
ShellTreeView: when fObjectTypes = [otFolders] only show expandsign if node has subdirs.
...
Modified patch from theo. Issue #0027415 .
git-svn-id: trunk@47650 -
2015-02-07 23:30:00 +00:00
juha
51ab663b7f
LCL: Publish events OnMouseWheel, OnMouseWheelDown and OnMouseWheelUp for yet more controls. Issue #26781 , patch from Sandro Cumerlato.
...
git-svn-id: trunk@46338 -
2014-09-26 21:40:47 +00:00
bart
6a3eb32754
ShellTreeView: fix SetPath (issue #0026088 ).
...
git-svn-id: trunk@44839 -
2014-04-28 18:12:25 +00:00
bart
f745a17097
TShellTreeView: publish OnAdvancedCustomDraw, OnAdvancedCustomDrawItem, OnCustomDraw, OnCustomDrawItem.
...
Issue #0024732 .
git-svn-id: trunk@42066 -
2013-07-12 14:44:18 +00:00
bart
3074084317
ShellCtrls: Add public method TCustomShellTreeView.Refresh(ANode: TTreeNode) (Delphi compatibility)
...
git-svn-id: trunk@41728 -
2013-06-16 12:57:27 +00:00
juha
7b162087fd
Improve license headers in sources, part 1. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
...
git-svn-id: trunk@41387 -
2013-05-24 18:30:06 +00:00
bart
4afc35bcd3
LazFileUtils: Fix TCustomShellTreeView.GetPathFromNode when Node.Text from "RootNode" <> GetRootPath.
...
git-svn-id: trunk@41157 -
2013-05-12 15:29:21 +00:00
bart
0ebfa05375
LazFileUtils: Fix TShelltreeView.SetPath for Windows is Root is empty string
...
git-svn-id: trunk@41156 -
2013-05-12 14:43:47 +00:00
bart
d846a1451d
ShellCtrls: Yet another attempt to fix TShellTreeView.SetPath after recent changes.
...
git-svn-id: trunk@41153 -
2013-05-12 14:06:23 +00:00
bart
2b795c385b
ShellCtrls: Use ExpandFileNameUtf8 instead of ExpandFileName.
...
git-svn-id: trunk@41150 -
2013-05-12 11:09:46 +00:00
bart
1650d36464
ShellCtrls: Fix not applying FileSortType if Root <> ''. Issue #0018530 .
...
git-svn-id: trunk@41149 -
2013-05-12 10:55:58 +00:00
bart
544e9831c2
ShellCtrls: don't use ExcludeTrailingPathDelimiter when calling DirectoryExistsUtf8 (it fails on '/' and '\').
...
git-svn-id: trunk@41148 -
2013-05-12 10:05:59 +00:00
mattias
83c6aa7374
LCL: simplify code for fpdoc
...
git-svn-id: trunk@40798 -
2013-04-12 14:40:01 +00:00
sekelsenmat
c48f864fc6
Updates the example Android app now that I learned that only onLoad and onUnload need to be statically exported. Some other very minor fixes.
...
git-svn-id: trunk@40796 -
2013-04-12 12:58:39 +00:00
bart
c0f42ef5b4
ShellCtrls: Restore an empty line in source code, because it marks what the comment is about.
...
git-svn-id: trunk@40753 -
2013-04-08 21:27:14 +00:00
bart
4b45b1b4b0
ShellCtrls: Adjust TShellTreeView.SetPath after the changes to SetRoot.
...
Raise an exception if Path is not valid (Delphi compatibility).
git-svn-id: trunk@40742 -
2013-04-07 15:56:43 +00:00
bart
b379a5290b
ShellCtrls: Raise an exception when trying to set an invalid Root for TShellTreeView and TShellListview (Delphi compatibility).
...
git-svn-id: trunk@40734 -
2013-04-07 13:11:04 +00:00
bart
cb7146f41b
ShellCtrls: Add a Node for Root in SetRoot. Fixes issue #0024230 .
...
git-svn-id: trunk@40732 -
2013-04-07 10:59:07 +00:00
bart
2b3ef514e9
ShellCtrls: declare property ViewStyle of TShellListView as "default vsReport".
...
Fixes issue #0024226 .
git-svn-id: trunk@40723 -
2013-04-06 14:50:21 +00:00
juha
d2ff23f085
LCL: improving ShellTreeView's property Path on Windows once more, issue #22538
...
git-svn-id: trunk@38224 -
2012-08-10 18:08:54 +00:00