Commit Graph

254 Commits

Author SHA1 Message Date
zeljko
33b1105d89 *do not process ampersand as treeview nodes, makes alignment mess. fixes issue #19532
git-svn-id: trunk@32669 -
2011-10-04 10:36:43 +00:00
juha
8e308ffe4d LCL: TreeView - support showing and hiding TreeNodes properly. Issue #17366, patch from Krzysztof Dibowski
git-svn-id: trunk@32064 -
2011-08-26 17:46:56 +00:00
juha
59c2d2e1b6 TreeView: draw lines more correctly in psPattern mode. Issue #19568, patch from Anton
git-svn-id: trunk@31951 -
2011-08-11 21:15:40 +00:00
maxim
e705d42b04 LCL: small treeview code simplification by Flávio Etrusco, bug #19859
git-svn-id: trunk@31847 -
2011-08-01 21:05:02 +00:00
juha
6a07320422 LCL: improve the earlier patch for deleting selected nodes in TreeView.
git-svn-id: trunk@31775 -
2011-07-20 21:22:16 +00:00
juha
5dbd4a37fd LCL: Update TreeView.Items.FSelection when deleting selected nodes. Patch from Anton, issue #19777
git-svn-id: trunk@31773 -
2011-07-20 17:24:51 +00:00
mattias
fa3c03859c IDE: codeexplorer: surrounding
git-svn-id: trunk@30789 -
2011-05-18 08:23:48 +00:00
mattias
25cc1acf65 LCL: TTreeView: added TTreeNode.GetNextSkipChildren
git-svn-id: trunk@30785 -
2011-05-17 12:48:00 +00:00
mattias
03e8b0a1dc LCL: TTreeview: CustomSort with Begin/EndUpdate
git-svn-id: trunk@30783 -
2011-05-17 11:43:20 +00:00
juha
fdc466d76d Fix spelling from Childs to Children around Lazarus source. Patch from Mazen NEIFER
git-svn-id: trunk@30657 -
2011-05-10 09:13:38 +00:00
mattias
c2a58808d3 codetools: changed some uppercase parameters to mixed case
git-svn-id: trunk@29982 -
2011-03-22 13:41:30 +00:00
paul
9d6104fc81 lcl: prepare TreeView canvas before theme drawing if theme has transparent parts for this detail and RowSelect = true (issue #0018244)
git-svn-id: trunk@29896 -
2011-03-18 07:31:55 +00:00
paul
6b248eb794 lcl:
- cleanup treeview code, 
  - fix multiselection - select nodes between selected and the current, clear selection before (issue #0018209)

git-svn-id: trunk@29882 -
2011-03-17 07:09:18 +00:00
mattias
b3a8dd03b1 fixed typos: childs
git-svn-id: trunk@29440 -
2011-02-10 09:37:16 +00:00
paul
2fead07c7d lcl: formatting
git-svn-id: trunk@29130 -
2011-01-20 02:51:56 +00:00
paul
8a4ea90a1c lcl: formatting
git-svn-id: trunk@29129 -
2011-01-20 02:46:14 +00:00
paul
54743aa2ce lcl: fix showing of tree note text at the middle of node by hint of Bald Zhang (issue #0018285)
git-svn-id: trunk@28863 -
2011-01-04 10:18:28 +00:00
paul
ab77d54fec lcl: add OnEditingEnd event for TTreeView by mmvisual (feature #0017313)
git-svn-id: trunk@28561 -
2010-11-30 05:58:15 +00:00
zeljko
091d03bee1 LCL: Implemented TTreeView.MultiSelectStyle for Delphi compatibility.Implementation is TODO for this property and will be opened as separate issue for 1.0. Fixes issue #8351
git-svn-id: trunk@28464 -
2010-11-24 17:51:35 +00:00
zeljko
ac69cf5cee LCL: Implemented TTreeView.SelectionCount and TTreeView.Selections[] for Delphi compatibility.Part of issue #8351
git-svn-id: trunk@28463 -
2010-11-24 17:32:47 +00:00
zeljko
e1453ef20a LCL: TTreeView added MultiSelect property for Delphi compatibility.Part of issue #8351
git-svn-id: trunk@28462 -
2010-11-24 16:28:11 +00:00
zeljko
76cd8c6607 LCL: TTreeView: allow editing node (F2) when tvoAllowMultiSelect enabled.Fixes issue #16731
git-svn-id: trunk@28353 -
2010-11-19 21:04:43 +00:00
zeljko
674800cb1b LCL: treeview: trigger OnDeletion() event before node is unbinded.Fixes issue #17832 .
git-svn-id: trunk@28092 -
2010-11-05 09:23:09 +00:00
paul
6ce6821a27 lcl: always exclude tvsPainting from the treeview states on DoPaint exit (bug #0017653)
git-svn-id: trunk@27758 -
2010-10-19 01:18:11 +00:00
paul
9b70fb4a72 lcl: formatting
git-svn-id: trunk@27757 -
2010-10-19 01:11:31 +00:00
blikblum
69b2b72516 lcl: move RegisterPropertyToSkip calls to Register* procedures or unit initialization so it's called only once and not on every component created
git-svn-id: trunk@27070 -
2010-08-12 12:24:11 +00:00
mattias
ffdc91c193 LCL: TTreeView: in editing: eat VK_RETURN
git-svn-id: trunk@26867 -
2010-07-28 08:11:36 +00:00
paul
1e68ee32f3 lcl: register some VCL compatibility properties to skip them during lfm reading (issue #0016660)
git-svn-id: trunk@26834 -
2010-07-26 06:12:24 +00:00
mattias
feaf0e30be LCL: TreeView: using normal drag and drop, bug #16876
git-svn-id: trunk@26622 -
2010-07-13 13:42:12 +00:00
zeljko
fd33466244 LCL: TCustomTreeView.CanChange(Node: TTreeNode) check if Node is nil before calling FOnChanging().patch by Juha Manninen fixes #16632.
git-svn-id: trunk@26199 -
2010-06-20 08:52:56 +00:00
paul
81d8ef4da9 lcl: don't start node editing on icon click (by Anton Kavalenka, bug #0016012)
git-svn-id: trunk@25790 -
2010-05-31 02:55:21 +00:00
paul
622f0ba392 lcl: fix GetControlClassDefaultSize - use TSize instead of TPoint
git-svn-id: trunk@25204 -
2010-05-05 07:59:04 +00:00
mattias
9968ec7168 LCL: TTreeView: added OnAddition
git-svn-id: trunk@25192 -
2010-05-04 20:20:13 +00:00
paul
0cc6be3008 lcl: correctly fill TCreateParams structure in CreateParams method
win32: use CreateParams styles, exstyle, parent, caption and geometry instead of own calculated (issue #0014288)

git-svn-id: trunk@25149 -
2010-05-03 09:39:52 +00:00
paul
db1ba90fac formatting
git-svn-id: trunk@25137 -
2010-05-02 16:50:58 +00:00
mattias
ec6aecbdc0 LCL: TTreeView: added OnCreateNodeClass for Delphi compatibility
git-svn-id: trunk@25098 -
2010-05-01 14:45:14 +00:00
paul
1c2ac82980 lcl: don't use ThemeServices for drawing node text if treeview is not themed
git-svn-id: trunk@24886 -
2010-04-24 17:01:07 +00:00
paul
cc6a63ed9d lcl: use LM_SetFocus, LM_KillFocus message handling instead of DoEnter DoLeave for treeview focus tracking
git-svn-id: trunk@24885 -
2010-04-24 16:37:35 +00:00
paul
eb95332d2c lcl: fix TTreeNode.DisplayTextRight calculation
git-svn-id: trunk@24880 -
2010-04-24 15:38:08 +00:00
paul
86b00d4f17 lcl: draw treeitem text using appropriate themed colors
git-svn-id: trunk@24877 -
2010-04-24 14:52:22 +00:00
mattias
b244668801 CustomTreeView.GetInsertMarkAt changed var to out parameters
git-svn-id: trunk@24873 -
2010-04-24 12:13:28 +00:00
zeljko
0e9ff79e50 gtk2: fixed treeitem painting.
lcl: revert my latest patch for font.color setting when treeitem is selected.

git-svn-id: trunk@24860 -
2010-04-23 19:27:28 +00:00
zeljko
09124bd436 lcl: do not set font color if treeview isn't focused
git-svn-id: trunk@24853 -
2010-04-23 14:23:24 +00:00
zeljko
37436b5e47 lcl: set canvas.font.color if treeview item is selected otherwise we cannot see text anymore (qt,gtk,gtk2)
git-svn-id: trunk@24849 -
2010-04-23 11:09:14 +00:00
paul
b60d60f7b6 lcl: don't allow intersection of tree lines with expand sign
git-svn-id: trunk@24843 -
2010-04-23 02:36:11 +00:00
paul
5d0f6c878d lcl: redraw treeview on focus/focus lost
git-svn-id: trunk@24838 -
2010-04-23 00:24:06 +00:00
paul
be2511dff9 lcl: draw non-focused selection state if treeview has no focus (todo: invalidate on focus lose)
git-svn-id: trunk@24818 -
2010-04-22 09:34:39 +00:00
paul
cc617a1b0c lcl: more themed painting to treeview (todo: widgetset support)
git-svn-id: trunk@24816 -
2010-04-22 09:07:59 +00:00
zeljko
1cb343f328 TTreeView: use selected color for expand/collapse sign if rowSelect=true and node is selected.
git-svn-id: trunk@24815 -
2010-04-22 08:10:49 +00:00
paul
0b8221cd19 lcl: support expand/collapse treeview sign of theme size
git-svn-id: trunk@24814 -
2010-04-22 07:30:03 +00:00