bart
5a8f370fce
LCL: suppress useless warnings in ShellCtrls unit.
...
git-svn-id: trunk@62076 -
2019-10-18 16:53:17 +00:00
bart
a9d197d902
ShellCtrls: escape '[' in the mask in GetFilesInDir if a TMaskList is used (see comments).
...
git-svn-id: trunk@61844 -
2019-09-08 20:39:21 +00:00
bart
47072a2219
ShellCtrls: in GetFilesInDir remove trailing ';' from mask, so that a single mask ending in ';' does not need a TMaskList by default.
...
git-svn-id: trunk@61843 -
2019-09-08 20:35:57 +00:00
bart
b4fc5e71d5
ShellCtrls: publish property MaskCaseSensitivity of TShellListView (forgotten in r61825 #be4832ad66).
...
git-svn-id: trunk@61842 -
2019-09-08 20:16:40 +00:00
bart
6c9e20c06f
ShellCtrls: cosmetic (indentation, coding style), no functional changes.
...
git-svn-id: trunk@61826 -
2019-09-08 11:46:24 +00:00
bart
be4832ad66
ShellCtrls: implement property MaskCaseSensitivity for TShellListView. Defaults to conform to platfom standard behaviour.
...
git-svn-id: trunk@61825 -
2019-09-08 11:07:38 +00:00
bart
d3e0ff4854
ShellCtrls: Use a TMaskList in TShellTreeView.GetFilesInDir:
...
- avoids the need for further checks wether a filename was already found (because it matched a previous mask in the loop).
- only use a TMaskList if more than one mask is specified.
git-svn-id: trunk@61824 -
2019-09-07 21:34:21 +00:00
bart
35506f673d
ShellCtrls: fix rasing excption when changing TShellTreeView.FileSortType in designer. Issue #0036055 .
...
git-svn-id: trunk@61823 -
2019-09-07 21:19:59 +00:00
bart
1e8b391f35
TShellListView: don't ask the system again for filesize since we already stored it somewhere.
...
git-svn-id: trunk@61796 -
2019-09-01 13:32:06 +00:00
bart
0f5f2129da
ShellCtrls: implement OnAddItem event for TShellTreeView and TShellListView. Analogue to Delphi's OnAddFolder (but since paramters differ anway I choose another name). Based on a code example by wp.
...
git-svn-id: trunk@61795 -
2019-09-01 13:22:53 +00:00
juha
5c4bd12dd3
LCL: Publish OnMouseWheelHorz/Left/Right events for most controls. Issue #34683 , patch from AlexeyT.
...
git-svn-id: trunk@59801 -
2018-12-12 11:33:10 +00:00
marcus
670bb5339c
Amiga: removed some warnings
...
git-svn-id: trunk@55380 -
2017-06-20 09:24:14 +00:00
juha
b5ddafa8d2
LCL: Fix compilation on Windows.
...
git-svn-id: trunk@54529 -
2017-04-05 15:25:16 +00:00
juha
e800a738ad
Copy AVL_Tree from FPC trunk and replace classes in AvgLvlTree and in CodetoolsStructs with it.
...
The unit in FPC packages will be used directly later.
git-svn-id: trunk@54524 -
2017-04-05 08:34:48 +00:00
mattias
425d1ffeb1
lcl: less warnings
...
git-svn-id: trunk@53138 -
2016-10-17 13:34:17 +00:00
bart
e78034e3ad
ShellCtrls: publish property Mask of TShellListView.
...
git-svn-id: trunk@52165 -
2016-04-11 09:37:19 +00:00
bart
47106ebc21
ShellTreeView: make PopulateWithBaseFiles public. Makes it possible to populate a ShelltreeView that was created at runtime.
...
git-svn-id: trunk@51639 -
2016-02-16 16:31:45 +00:00
bart
dc9997b0d8
ShellTreeView: remove method GetSelectedNodePath (deprecated since 1.4.0).
...
git-svn-id: trunk@51357 -
2016-01-20 14:41:04 +00:00
bart
cc42e8d513
ShellListView: allow for case-sensitive masks. Issue #0029255 . Patch by ruewa, modified by me.
...
git-svn-id: trunk@51037 -
2015-12-26 12:30:59 +00:00
bart
2ab84755d1
LCL: ShellCtrls: less hints.
...
git-svn-id: trunk@50772 -
2015-12-13 16:57:41 +00:00
bart
c45aa54c62
TShellTreeView:
...
- Yet another attempt to fix SetPath (Issue #0026088 )
- Ifdef the code for debug output.
git-svn-id: trunk@50648 -
2015-12-05 16:42:43 +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