Commit Graph

85 Commits

Author SHA1 Message Date
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
juha
5b3c99a51b LCL: Fix ShellTreeView's new property Path. Issue #22538, modified from patch of "ocean"
git-svn-id: trunk@38221 -
2012-08-09 23:31:00 +00:00
juha
306517127e LCL, ShellTreeView: fix getting and setting the new Path property when root is empty
git-svn-id: trunk@38181 -
2012-08-06 19:52:31 +00:00
juha
f88fab8bc7 LCL, ShellTreeView: publish property Images (and HotTrack). Issue #14903
git-svn-id: trunk@38177 -
2012-08-05 16:29:46 +00:00
juha
6e442d0bf6 LCL, ShellTreeView: Implement property Path. Issue #22538
git-svn-id: trunk@38174 -
2012-08-05 12:06:33 +00:00
juha
0be8b02a9f LCL: Sort ShellListView after changing contents. Issue #22439, patch from Sven Barth
git-svn-id: trunk@37953 -
2012-07-15 19:44:31 +00:00
paul
de7eaefc28 lcl: fix crash in ShellTreeView by José Mejuto, issue #0021360
git-svn-id: trunk@36208 -
2012-03-22 02:28:53 +00:00
sekelsenmat
24da8046f7 LCL-CustomDrawn: Fixes crash in themes due to Themes calling DrawControl calling Themes and improves TBitBtn support
git-svn-id: trunk@36028 -
2012-03-15 12:26:04 +00:00
sekelsenmat
c25543b689 shellctrls: Now it will show the root of the filesystem if it makes sense in the platform. Corrects the first contents of a shelllistview connected to a shelltreeview with root<>empty. See bug #18534
git-svn-id: trunk@34976 -
2012-01-27 13:41:46 +00:00
andrew
b758561187 Fixed another crash when destroying a ShellTreeView after the ShellListView is assigned and then unassigned
git-svn-id: trunk@32633 -
2011-10-02 23:08:08 +00:00
andrew
32c6e290a3 Fixed crash when deleting ShellTreeview or ShellListView from a form when the ShellListView or ShellTreeView properties are assigned
git-svn-id: trunk@32632 -
2011-10-02 22:46:37 +00:00
zeljko
d065ad0b1a TShellTreeView: when root property is changed, also change root property of TShellListView (if assigned).issue #18534
git-svn-id: trunk@31473 -
2011-06-30 10:39:34 +00:00