Commit Graph

540 Commits

Author SHA1 Message Date
juha
78b6a2d026 LCL: Implement method TreeView.Items.AddNode. Issue #15807
git-svn-id: trunk@33618 -
2011-11-18 19:19:05 +00:00
juha
a002250d2b LCL: add Notification about removed ImageLists in ListView. Issue #20619
git-svn-id: trunk@33594 -
2011-11-17 18:57:22 +00:00
juha
cc82e44e9b LCL: formatting
git-svn-id: trunk@33593 -
2011-11-17 18:57:09 +00:00
sekelsenmat
fa02b703f1 Renames TNotebookOption and friends to TCTabControlOptions,etc because the old name was completely wrong since TNotebook is completely unrelated to this type
git-svn-id: trunk@33537 -
2011-11-15 07:28:07 +00:00
sekelsenmat
e84fbeb3cd Another small fix for TTabControl
git-svn-id: trunk@33486 -
2011-11-12 17:26:03 +00:00
sekelsenmat
a02b02d58a Small fix in the new TTabControl
git-svn-id: trunk@33485 -
2011-11-12 17:06:40 +00:00
sekelsenmat
59e4c91124 Activates the new tabcontrol
git-svn-id: trunk@33457 -
2011-11-10 07:46:27 +00:00
juha
9a1d779e44 LCL: remove obsolete AddModeNames. Use WriteStr
git-svn-id: trunk@33237 -
2011-11-02 23:16:27 +00:00
juha
ed92cee3f1 LCL: remove unused NodeAttachModeNames
git-svn-id: trunk@33236 -
2011-11-02 23:16:05 +00:00
sekelsenmat
f0297d8f4f Advances a lot the new TTabControl, should be finished now
git-svn-id: trunk@33218 -
2011-11-02 13:08:43 +00:00
sekelsenmat
a7bfcf6c9b Removes TPageControl.OnPageChanged to fix bug #19903 double OnChange calls
git-svn-id: trunk@32622 -
2011-10-02 18:03:18 +00:00
juha
71f1c25189 LCL: UpDown control's Visible and Enabled follow the associated control. Issue #20301, patch from Silvio Clécio
git-svn-id: trunk@32466 -
2011-09-23 08:41:38 +00:00
sekelsenmat
c70ad135b5 Adds a new method to make TPageControl usage in code more intuitive
git-svn-id: trunk@32273 -
2011-09-11 06:20:21 +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
martin
d07fc13245 ExtendedNotebook: fixed selecting last tab. Issue #0019845
git-svn-id: trunk@31892 -
2011-08-06 15:24:39 +00:00
sekelsenmat
e102c28b17 Moves ChildClassAllowed to TPageControl and ifdefs out the new tabcontrol
git-svn-id: trunk@31849 -
2011-08-03 05:37:14 +00:00
sekelsenmat
7db6fbf1f9 Reverts TTabControl to it's old implementation due to too many problems with the new one
git-svn-id: trunk@31804 -
2011-07-26 13:48:06 +00:00
sekelsenmat
8f08674d91 Fixes access violations in TTabControl
git-svn-id: trunk@31782 -
2011-07-22 11:47:17 +00:00
sekelsenmat
f49a57bd08 Adds the skeleton of the missing method IndexOfTabAt
git-svn-id: trunk@31780 -
2011-07-22 11:31:15 +00:00
sekelsenmat
73542b658a Renames TCustomNotebook to TCustomTabControl, a major breakthrough into fixing the tab-controls
git-svn-id: trunk@31767 -
2011-07-20 14:39:50 +00:00
sekelsenmat
4244d3ea84 Removes the old, completely broken, TTabControl and substitutes it with the new implementation. This also cleans the namespace for renaming TCustomNotebook
git-svn-id: trunk@31766 -
2011-07-20 14:04:55 +00:00
sekelsenmat
66231a14fe Patch from bug #19750: TCustomNotebook: Allow keyboard tab switching
git-svn-id: trunk@31733 -
2011-07-18 12:50:40 +00:00
sekelsenmat
0aca30545d Second part from patch from bug #19575, previous TTabs implementation was forgotten
git-svn-id: trunk@31687 -
2011-07-13 12:46:15 +00:00
sekelsenmat
ca84ba2f7f Patch from Hans-Peter, starts fixing TTabControl, from bug #19575
git-svn-id: trunk@31686 -
2011-07-13 12:43:43 +00:00
sekelsenmat
bc7a2ba310 Moves TCustomNotebook to ComCtrls in preparation for renaming it
git-svn-id: trunk@31552 -
2011-07-04 09:43:21 +00:00
zeljko
116a005410 LCL: TCustomListView: started OnDataFind event. issue #7131
git-svn-id: trunk@31496 -
2011-07-02 12:50:31 +00:00
zeljko
31a93e1b6e LCL: added Delphi compatibile function TCustomListView.FindData(StartIndex: Integer; Value: Pointer; Inclusive, Wrap: Boolean): TListItem;
git-svn-id: trunk@31480 -
2011-06-30 15:11:09 +00:00
zeljko
52b49db5d6 LCL: implemented Delphi compatibility function TCustomListView.AlphaSort: Boolean.
git-svn-id: trunk@31477 -
2011-06-30 12:45:50 +00:00
zeljko
3b3f7703dd LCL: TCustomListView: preserve selections when sorting items. issue #18716
git-svn-id: trunk@31462 -
2011-06-29 21:18:08 +00:00
zeljko
444d9eb06f Win32,WinCE: use faster CompareValue() instead of ComCtrls.CompareItems() for sort LCL: unpublished CompareItems() - nobody uses it now.
git-svn-id: trunk@31459 -
2011-06-29 19:55:09 +00:00
zeljko
84d29ef869 LCL: TCustomListView, TListView added new properties SortDirection and AutoSort. All ws now use CompareItems() for sorting.
Implemented sorting for gtk2, fixed qt sorting, updated win32 and wince to use CompareItems().

git-svn-id: trunk@31458 -
2011-06-29 18:34:01 +00:00
zeljko
cd32bf59f0 LCL: preserve selection when moving items. Return cached checked item when moving items.
Win32: simplified LVItem assigning in case of exchange and move, fixed bugs

git-svn-id: trunk@31373 -
2011-06-25 08:31:57 +00:00
zeljko
d827c3f379 Win32: implemented TListView.Exchange() and TListView.Move()
LCL: Use TFPList instead of TList for internal FList of TListViewItems
LCL: TListViewItems invalidate cacheindex and cacheitem when doing exchange or move.

git-svn-id: trunk@31364 -
2011-06-24 19:18:43 +00:00
zeljko
8bdf87abed LCL: TListViewItems: implemented Exchange() and Move() to easy move or exchange items in list. Implementation done for gtk2 and qt
git-svn-id: trunk@31358 -
2011-06-24 12:04:01 +00:00
paul
de0cfa211a lcl: fix vertical toolbar button positioning + drawing of vertical separators
git-svn-id: trunk@30921 -
2011-05-27 06:39:29 +00:00
dmitry
a32a3ef4ca listview: fixes for improper OwnerDataListItem.Owner. #18961
git-svn-id: trunk@30832 -
2011-05-21 03:56:27 +00:00
juha
f8ad2b58cd LCL: Publish property GridLines in TListView
git-svn-id: trunk@30788 -
2011-05-17 21:56:45 +00:00
mattias
25cc1acf65 LCL: TTreeView: added TTreeNode.GetNextSkipChildren
git-svn-id: trunk@30785 -
2011-05-17 12:48:00 +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
juha
a5e1656dfb LCL: Change button color when enabling/disabling TUpDown. Patch from Anton, issue #18913
git-svn-id: trunk@30472 -
2011-04-25 20:39:44 +00:00
paul
3fe1a6d2a2 lcl: fix warning
git-svn-id: trunk@30012 -
2011-03-25 08:55:01 +00:00
paul
423815bcc3 lcl: post CN_DROPDOWNCLOSED after Popup is executed because it is too early to post it on close event - on windows it reaches the sender before the click event (issue #0016044)
git-svn-id: trunk@29833 -
2011-03-14 06:54:46 +00:00
paul
bbe53df988 lcl: post CN_DROPDOWNCLOSED before closing a toolbar popup menu for delphi compatibility, call TMenuItem.Click when tool button is clicked
git-svn-id: trunk@29779 -
2011-03-10 06:34:49 +00:00
paul
e6e773b140 lcl: publish TTabSheet.BorderWidth
git-svn-id: trunk@29763 -
2011-03-09 12:47:54 +00:00
dmitry
3a15275dd9 lcl: fix listview items ownerdata items update for Repaint method. fixes #18546, #16970
git-svn-id: trunk@29670 -
2011-02-26 04:41:27 +00:00
dmitry
90a7d1e94e lcl: split listitems to ownerdatalistitems. fix #16069
git-svn-id: trunk@29669 -
2011-02-26 04:04:14 +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
sekelsenmat
cadb31f8a9 Replaces the current wrongly implement TPage and TNotebook with their correct implementations. TCustomPage and TCustomNotebook remain because they are used in TPageControl.
git-svn-id: trunk@28850 -
2010-12-31 16:08:46 +00:00
vincents
e975b38aab lcl: make TStatusBar, TStatusPanel, THeaderSection translatable (issue #18322)
patch by: cobines

git-svn-id: trunk@28837 -
2010-12-30 10:16:40 +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
paul
fa4ada16f4 lcl: add lcl_defines include file which can be used for common lcl defines (like UseCLDefault)
git-svn-id: trunk@28343 -
2010-11-19 10:46:12 +00:00
paul
c6ae8b8210 lcl: add TTrackBar.Reversed property, implement for win32. Zeljan will implement for other widgetsets
git-svn-id: trunk@28312 -
2010-11-18 09:28:03 +00:00
paul
d49ae27a49 lcl, win32: implement TToolbar.Transparent property
git-svn-id: trunk@28150 -
2010-11-08 08:57:18 +00:00
paul
d3bb952456 lcl: forgot to change TListView color to clDefault
git-svn-id: trunk@28144 -
2010-11-08 03:43:27 +00:00
paul
d35e85a332 win32: restore wm_erasebkgnd default handler after clDefault experiments
lcl: more proper implementation for clDefault, add UseCLDefault define to compile with clDefault as default color for controls

git-svn-id: trunk@28140 -
2010-11-08 02:27:02 +00:00
zeljko
612440d648 LCL: TCustomListView: implemented OnItemChecked. fixes #17042
git-svn-id: trunk@27975 -
2010-10-30 12:51:58 +00:00
sekelsenmat
3fd96fa189 TListView is changed from published to public. Fixes bug #16367
git-svn-id: trunk@27800 -
2010-10-21 15:45:31 +00:00
mattias
5ad496ffd6 LCL: reduced hints
git-svn-id: trunk@27772 -
2010-10-20 08:18:58 +00:00
mattias
2aaf2b0153 LCL: TPageControl: published Options and OnCloseTabClicked to make porting old TNoteBook code easier
git-svn-id: trunk@27620 -
2010-10-08 14:54:44 +00:00
mattias
369aa3055c fixed typo dont
git-svn-id: trunk@27304 -
2010-09-11 14:05:21 +00:00
paul
f20f3aa1ef lcl: add public property TCustomListView.ColumnCount,
win32: don't access listview columns array out of it bounds (issue #0017263)

git-svn-id: trunk@27199 -
2010-08-26 16:39:45 +00:00
paul
2c127c9897 win32: fix TListView.Autosize by Bernd Kreuss (issue #0017141)
git-svn-id: trunk@27046 -
2010-08-10 02:07:48 +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
mattias
f4aff160db LCL: added TToolButton.ShowCaption, bug #16778
git-svn-id: trunk@26388 -
2010-07-01 12:56:04 +00:00
paul
415884606c lcl: publish TPageControl.MultiLine property and map it to TCustomNotebook.Options nboMultiLine
git-svn-id: trunk@25507 -
2010-05-19 08:40:32 +00:00
paul
bdab0c4699 lcl: GetTabIndex should return the index of Tab, not the index of Page. Remove SetTabIndex.
git-svn-id: trunk@25329 -
2010-05-12 08:23:49 +00:00
dmitry
fae2b3c5ec lcl: fix for ownerdata list view selection bug #16437
git-svn-id: trunk@25306 -
2010-05-10 19:08:27 +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
mattias
cf55952b42 removed OldAutoSize
git-svn-id: trunk@25190 -
2010-05-04 19:16:18 +00:00
paul
c3564e26d8 lcl: TTrackBar.OnChange should be called after Position change in code, add Changed method for VCL compatibility, fix qt, gtk2 to skip message sending in case of position change through code to prevent double calling of the message (issue #0014545)
git-svn-id: trunk@25161 -
2010-05-04 04:29:27 +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
fa0ab5a8ad lcl: allow to request true column width during listview destruction (based on patch of José Mejuto)
win32: use stored width while setting column width in interface
gtk2: use true column width, not the requested one
fixes issue #0014371

git-svn-id: trunk@25124 -
2010-05-02 06:45:23 +00:00
mattias
ec6aecbdc0 LCL: TTreeView: added OnCreateNodeClass for Delphi compatibility
git-svn-id: trunk@25098 -
2010-05-01 14:45:14 +00:00
zeljko
04e8257632 lcl: TListView published AllocBy to be delphi compatibile.
git-svn-id: trunk@24963 -
2010-04-26 12:13:52 +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
mattias
b244668801 CustomTreeView.GetInsertMarkAt changed var to out parameters
git-svn-id: trunk@24873 -
2010-04-24 12:13:28 +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
cc617a1b0c lcl: more themed painting to treeview (todo: widgetset support)
git-svn-id: trunk@24816 -
2010-04-22 09:07:59 +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
paul
229564f15d lcl: add TTrackBar.SelStart, TTrackBar.SelEnd, TTrackBar.ShowSelRange based on patch of Justin Smyth (issue #0016299)
git-svn-id: trunk@24728 -
2010-04-20 04:39:09 +00:00
paul
448b7689cf lcl: clean listview items flag on handle destruction
git-svn-id: trunk@24691 -
2010-04-18 08:46:29 +00:00
mattias
68c75f3577 LCL: TToolBar using SetBounds to not struggle with the LCL
git-svn-id: trunk@24378 -
2010-04-03 14:14:47 +00:00
mattias
e16bb0cfa4 LCL:
autosize: turn childs visible before parent
autosize without visible handle: clear requests
TWinControl.UpdateControlState: call AdjustSize to delay showing after bound computation
TWinControl.WMSize: ignore if no bounds were sent to intf
TToolBar.CreateWnd: delay autosize
TControl.DoAllAutoSize: do not autosize invisible controls

git-svn-id: trunk@24377 -
2010-04-03 13:28:35 +00:00
mattias
50ba07eaa8 LCL: fixed TCustomTabControl.AdjustClientRect to use parameter
git-svn-id: trunk@24189 -
2010-03-24 13:26:23 +00:00
paul
c6c63ccae9 lcl: fix ownerdata listview notifications
git-svn-id: trunk@23909 -
2010-03-10 02:54:12 +00:00
dmitry
11f880e78a lcl: setting items state on listview handle creation
git-svn-id: trunk@23724 -
2010-02-17 06:51:12 +00:00
blikblum
d1191aa008 lcl: Remove ParentFontChanged from TCustomCheckListBox and TToolbar since it's not necessary
git-svn-id: trunk@23247 -
2009-12-24 01:07:11 +00:00
paul
3319ecca5b lcl: add GetOwner to some TPersistent descendants
git-svn-id: trunk@23237 -
2009-12-23 08:48:01 +00:00
paul
c95dd96212 lcl: add TListView.OnExit, TListView.OnEnter
git-svn-id: trunk@23210 -
2009-12-21 07:36:47 +00:00
paul
b3e63da3b0 lcl: add GetLastMultiSelected to TTreeView
git-svn-id: trunk@23179 -
2009-12-18 08:08:44 +00:00
paul
29154135e7 lcl: return header section text as display name if available
git-svn-id: trunk@23010 -
2009-12-07 02:28:11 +00:00
andrew
e49b42439b * gtk2 Listview now uses custom GtktreeModel that gets it's data directly from TListItems. Old behavior can be restored by compiling lcl with -dUseOrigTreeModel
git-svn-id: trunk@22945 -
2009-12-03 16:15:31 +00:00
paul
aa612b4fd3 lcl: TListColumns must return valid owner on GetOwner
git-svn-id: trunk@22916 -
2009-12-02 03:22:17 +00:00
andrew
211c57e47a Fixed bug #11016 where TTreeNode.EditText was not implemented
git-svn-id: trunk@22910 -
2009-12-02 00:52:42 +00:00
andrew
b88059e19b Fixed bug #10622 where Listview.ItemIndex did not exist
git-svn-id: trunk@22909 -
2009-12-01 23:49:24 +00:00
paul
7d3d566314 lcl: make TActionLink.SetImageIndex argument delphi compatible TImageIndex -> Integer
git-svn-id: trunk@22727 -
2009-11-23 15:08:19 +00:00
paul
bbdc3ac65d lcl: set default size for TCustomTreeView, TCustomListView
git-svn-id: trunk@22719 -
2009-11-23 08:31:31 +00:00
paul
747db959f4 lcl: add enumerators for TListItems, TTreeNodes, TToolBar
git-svn-id: trunk@22409 -
2009-11-03 16:07:56 +00:00
paul
5cf79cb15b lcl: publish TTabSheet.Font property (issue #0014918)
git-svn-id: trunk@22313 -
2009-10-28 09:52:30 +00:00
paul
5b9bce5f38 lcl: apply patch of Boian Mitov to support listview state images and HitTestInfo under win32 (issue #0014881)
git-svn-id: trunk@22310 -
2009-10-28 09:41:02 +00:00
paul
216212b7a3 lcl: publish TStatusBar.BorderSpacing
git-svn-id: trunk@22212 -
2009-10-18 06:20:52 +00:00
mattias
26c3fe503f LCL: TCustomUpDown: using KeyDown event handler instead of OnKeyDown
git-svn-id: trunk@22151 -
2009-10-13 20:15:54 +00:00
paul
aa3aa41889 lcl: change ImageIndex property from Integer to TImageIndex for more components
git-svn-id: trunk@22141 -
2009-10-13 09:53:40 +00:00
paul
538e53caad lcl: use TImageIndex instead of Integer in more cases
git-svn-id: trunk@22138 -
2009-10-13 09:24:26 +00:00
paul
c8b4ccad1f lcl: fix TPageContol.OnChange event
git-svn-id: trunk@22037 -
2009-10-05 06:26:12 +00:00
paul
ffc58f9042 lcl: publish docking related properties for TListView
git-svn-id: trunk@21883 -
2009-09-26 14:19:20 +00:00
paul
2f6201ed2e lcl: publish OnMouseEnter, OnMouseLeave for some controls (patch of Zeljan, issue #0014575)
git-svn-id: trunk@21683 -
2009-09-13 11:31:57 +00:00
paul
32e74e9789 lcl: publish TPageControl.ShowTabs (mantis #0002037)
git-svn-id: trunk@21678 -
2009-09-13 08:02:09 +00:00
paul
4a0461a558 lcl: ListView:
- add TIconOptions
  - win32 implement support for different IconOptions (issue #0014460)

git-svn-id: trunk@21546 -
2009-09-03 02:48:41 +00:00
paul
ae65b07221 lcl, win32, carbon: initial implementation of virtual TListView by Dmitry (issue #0007749)
git-svn-id: trunk@21524 -
2009-09-01 16:44:31 +00:00
sekelsenmat
9d1b80451a Changes all dynamic methods in the ide, lclintf and lcl to virtual methods, because they are the same in fpc and dynamic is a legacy directive
git-svn-id: trunk@21280 -
2009-08-18 14:44:25 +00:00
paul
5a4bf4a31b lcl: skip ampersands in toolbutton textsize calculations
git-svn-id: trunk@20503 -
2009-06-08 03:28:05 +00:00
mattias
e9d3df252f LCL: TToolBar: fixed autosize loop
git-svn-id: trunk@20481 -
2009-06-06 16:59:46 +00:00
paul
673794373d lcl: publish TToolBar.Anchors
git-svn-id: trunk@20393 -
2009-06-04 06:26:38 +00:00
paul
587061f64f lcl: improve THeaderControl:
- publish BorderSpacing property
  - fix poor drawing if ContentRect is the same as the draw rect

git-svn-id: trunk@20323 -
2009-05-31 08:22:23 +00:00
mattias
cabc18d336 LCL: TToolBar.WrapButtons extended for only computing the new size without applying it
git-svn-id: trunk@20304 -
2009-05-30 12:29:21 +00:00
mattias
b5b3115e36 LCL: implemented TToolButton.AutoSize
git-svn-id: trunk@20303 -
2009-05-30 11:17:39 +00:00
paul
a8544fc87d lcl: add TProgressBar.Style property, implement Marquee style for win32, qt, gtk2 (issue #0013807)
git-svn-id: trunk@20161 -
2009-05-24 09:49:13 +00:00
paul
a8ae3b4f66 lcl: TPageControl: set dock site rectangle in DockOver and not in PositionDockRect since PositionDockRect used in other unrelated to dock over cases
git-svn-id: trunk@20092 -
2009-05-21 07:58:18 +00:00
paul
aacedf424d lcl: add a separate option to draw themed +/- tree signs in the treeview (by Luiz Americo, issue #0013677)
git-svn-id: trunk@20004 -
2009-05-17 08:31:38 +00:00
paul
c72ee51dc8 lcl: add TStatusBar.GetPanelIndexAt()
git-svn-id: trunk@19818 -
2009-05-06 07:03:16 +00:00
sekelsenmat
fdf5a12e01 Further implements TShellListView and other small changes and fixes
git-svn-id: trunk@19771 -
2009-05-02 16:29:41 +00:00
paul
584cb15de3 lcl: cleanup
git-svn-id: trunk@19393 -
2009-04-13 01:35:06 +00:00
paul
f02c53c71c merge lcl-smartlink branch:
------------------------------------------------------------------------
r19294 | paul | 2009-04-10 11:17:35 +0800 (Птн, 10 Апр 2009) | 1 line

lcl, win32: start optimizations: imglist (all), controls (all), combtrls (statubar)
------------------------------------------------------------------------
r19305 | martin | 2009-04-10 21:53:27 +0800 (Птн, 10 Апр 2009) | 1 line

Moved "DoneRegisterCheck" to global LCL
------------------------------------------------------------------------
r19306 | martin | 2009-04-10 22:14:57 +0800 (Птн, 10 Апр 2009) | 1 line

Moved "DoneRegisterCheck" to global LCL (more)
------------------------------------------------------------------------
r19307 | martin | 2009-04-10 22:22:44 +0800 (Птн, 10 Апр 2009) | 1 line

changed case true => True
------------------------------------------------------------------------
r19308 | paul | 2009-04-10 22:28:28 +0800 (Птн, 10 Апр 2009) | 1 line

fix file case
------------------------------------------------------------------------
r19311 | martin | 2009-04-10 23:09:16 +0800 (Птн, 10 Апр 2009) | 1 line

Moved Registration of TCustomCalendar
------------------------------------------------------------------------
r19312 | martin | 2009-04-10 23:28:03 +0800 (Птн, 10 Апр 2009) | 1 line

Moved PropertyToSkip for TCalender
------------------------------------------------------------------------
r19314 | paul | 2009-04-10 23:50:30 +0800 (Птн, 10 Апр 2009) | 1 line

merge r13913 #999e8b059d
------------------------------------------------------------------------
r19315 | paul | 2009-04-10 23:53:07 +0800 (Птн, 10 Апр 2009) | 1 line

cleanup WSCalendar
------------------------------------------------------------------------
r19316 | paul | 2009-04-11 00:37:44 +0800 (Сбт, 11 Апр 2009) | 1 line

finish with ComCtrls
------------------------------------------------------------------------
r19318 | martin | 2009-04-11 01:37:40 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved dialogs
------------------------------------------------------------------------
r19319 | martin | 2009-04-11 01:47:30 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved dialogs
------------------------------------------------------------------------
r19320 | martin | 2009-04-11 02:47:52 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved ExtCtrls, ExtDlgs
------------------------------------------------------------------------
r19321 | martin | 2009-04-11 03:23:32 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved PropertyToSkip
------------------------------------------------------------------------
r19322 | martin | 2009-04-11 03:37:39 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved StdCtrls
------------------------------------------------------------------------
r19323 | martin | 2009-04-11 04:05:50 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved Buttons
------------------------------------------------------------------------
r19325 | paul | 2009-04-11 11:02:26 +0800 (Сбт, 11 Апр 2009) | 1 line

remove DirSel
------------------------------------------------------------------------
r19326 | paul | 2009-04-11 11:11:37 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterArrow
------------------------------------------------------------------------
r19327 | paul | 2009-04-11 11:32:09 +0800 (Сбт, 11 Апр 2009) | 1 line

register WS classes only for TCustomXXX classes if they are available (like TCustomScrollBar instead of TScrollBar) and only for those descendants which really differ (like TRadioButton, TToggleButton)
------------------------------------------------------------------------
r19328 | paul | 2009-04-11 11:40:00 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomCheckBox
------------------------------------------------------------------------
r19329 | paul | 2009-04-11 11:57:22 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Forms
------------------------------------------------------------------------
r19330 | paul | 2009-04-11 12:13:05 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomGrid + move of RegisterPropertyToSkip
------------------------------------------------------------------------
r19331 | paul | 2009-04-11 12:24:29 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Menus
------------------------------------------------------------------------
r19332 | paul | 2009-04-11 12:35:16 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for PairSplitter
------------------------------------------------------------------------
r19333 | paul | 2009-04-11 12:47:39 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Spin
------------------------------------------------------------------------
r19334 | paul | 2009-04-11 12:58:55 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomRubberBand
------------------------------------------------------------------------
r19335 | paul | 2009-04-11 13:31:43 +0800 (Сбт, 11 Апр 2009) | 1 line

remove 2 initialization sections
------------------------------------------------------------------------
r19336 | paul | 2009-04-11 13:46:26 +0800 (Сбт, 11 Апр 2009) | 1 line

remove TPopupNotifier.png from LCL
------------------------------------------------------------------------
r19338 | paul | 2009-04-11 13:54:03 +0800 (Сбт, 11 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19341 | paul | 2009-04-11 14:59:27 +0800 (Сбт, 11 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19343 | martin | 2009-04-11 19:59:18 +0800 (Сбт, 11 Апр 2009) | 1 line

Reduced Unit-Circles, by moving Register* into WS* units
------------------------------------------------------------------------
r19344 | martin | 2009-04-11 20:22:49 +0800 (Сбт, 11 Апр 2009) | 1 line

Dummy file for gtk
------------------------------------------------------------------------
r19345 | martin | 2009-04-11 21:06:55 +0800 (Сбт, 11 Апр 2009) | 1 line

Initial move of gtk1 register
------------------------------------------------------------------------
r19346 | martin | 2009-04-11 21:19:48 +0800 (Сбт, 11 Апр 2009) | 1 line

Missing dependencies in gtk1 wsfactory
------------------------------------------------------------------------
r19347 | martin | 2009-04-11 22:36:42 +0800 (Сбт, 11 Апр 2009) | 1 line

Declare register* in interface, to keep external linker happy
------------------------------------------------------------------------
r19348 | martin | 2009-04-11 23:34:16 +0800 (Сбт, 11 Апр 2009) | 1 line

Declare register* in interface, to keep external linker happy 
------------------------------------------------------------------------
r19349 | martin | 2009-04-11 23:39:20 +0800 (Сбт, 11 Апр 2009) | 1 line

moved uses for factory
------------------------------------------------------------------------
r19350 | martin | 2009-04-11 23:41:57 +0800 (Сбт, 11 Апр 2009) | 1 line

corrected a few accidental "Result := False"
------------------------------------------------------------------------
r19351 | paul | 2009-04-12 00:04:15 +0800 (Вск, 12 Апр 2009) | 1 line

removed unused units
------------------------------------------------------------------------
r19352 | paul | 2009-04-12 00:05:26 +0800 (Вск, 12 Апр 2009) | 1 line

qt: move RegisterWS calls to qtwsfactory
------------------------------------------------------------------------
r19354 | paul | 2009-04-12 01:04:04 +0800 (Вск, 12 Апр 2009) | 1 line

wince: move RegisterWS calls to WinCEWSFactory
------------------------------------------------------------------------
r19356 | martin | 2009-04-12 01:39:56 +0800 (Вск, 12 Апр 2009) | 1 line

moved GTK2
------------------------------------------------------------------------
r19357 | martin | 2009-04-12 01:45:31 +0800 (Вск, 12 Апр 2009) | 1 line

moved GTK2 / missing units
------------------------------------------------------------------------
r19358 | martin | 2009-04-12 01:57:43 +0800 (Вск, 12 Апр 2009) | 1 line

Fixed one return value from register
------------------------------------------------------------------------
r19360 | martin | 2009-04-12 02:47:42 +0800 (Вск, 12 Апр 2009) | 1 line

Gtk2 , needs 2 registrations for WinControl
------------------------------------------------------------------------
r19361 | martin | 2009-04-12 02:57:58 +0800 (Вск, 12 Апр 2009) | 1 line

Gtk2 , needs 2nd registrations
------------------------------------------------------------------------
r19368 | paul | 2009-04-12 13:09:59 +0800 (Вск, 12 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19373 | paul | 2009-04-12 13:45:17 +0800 (Вск, 12 Апр 2009) | 1 line

wince: forgotten file
------------------------------------------------------------------------
r19374 | paul | 2009-04-12 14:04:04 +0800 (Вск, 12 Апр 2009) | 1 line

carbon: move RegisterWSComponent to CarbonWSFactory
------------------------------------------------------------------------
r19375 | paul | 2009-04-12 14:27:47 +0800 (Вск, 12 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------

git-svn-id: trunk@19376 -
2009-04-12 08:46:31 +00:00
paul
8235487c42 lcl: fix char case
git-svn-id: trunk@18934 -
2009-03-10 01:58:35 +00:00
paul
80b7122c67 lcl: set default values for TListView.SortColumn, TListView.SortType, TListColumn.AutoSize
git-svn-id: trunk@18931 -
2009-03-09 15:40:29 +00:00
paul
b0938be4da lcl: set default values for TListView.ParentColor and TCustomImageList.Masked
git-svn-id: trunk@18930 -
2009-03-09 15:34:43 +00:00
paul
c363b5fff8 gtk2: fix item exchange (bug #0013081)
git-svn-id: trunk@18809 -
2009-02-23 13:48:46 +00:00
paul
fbfc224459 lcl: Color property storing (fixes bug #0012322)
- change default ColorIsStored method. It was written probably to override old fpc streaming bug. Now it only checks for ParentColor property. If control want to skip some color storing then simple Default value need to be filled.
- remove TButtonControl.ColorIsStored, TStatusBar.ColorIsStored. Default value for color property do this job
- introduce new function IsColorDefault(AControl: TControl): Boolean; which checks both ParentColor and default color value
- gtk: use IsColorDefault instead of IsColorStored

git-svn-id: trunk@18744 -
2009-02-18 08:40:13 +00:00
paul
3e01ab5302 lcl: publish TListView.BorderStyle, implement it for win32 (already works for gtk2 issue #0013182)
git-svn-id: trunk@18732 -
2009-02-17 14:31:56 +00:00
paul
895b31f8f4 lcl: add protected field TStatusPanel.FIntfFlag to store useful flags in the status panels by interfaces (needs in the next commit)
git-svn-id: trunk@18618 -
2009-02-09 14:59:27 +00:00
paul
1523931aa3 lcl: pass status panel parts which need to update to the UpdateHandleObject
git-svn-id: trunk@18599 -
2009-02-08 12:09:04 +00:00
paul
6fc8235611 lcl: apply patch of Stephano to make some method declarations more delphi compatible (issue #0013125)
git-svn-id: trunk@18593 -
2009-02-06 17:50:50 +00:00
paul
5afc24b43d lcl: publish ParentFont and ParentColor properties for TListView (bug #0001910 by Leslie Kaye)
git-svn-id: trunk@18585 -
2009-02-05 15:25:30 +00:00
paul
68603b956b lcl: remove Crl3D, ParentCtl3D properties, register them as properties to skip
git-svn-id: trunk@18517 -
2009-01-31 12:04:03 +00:00
paul
7fd30ae31e lcl: toolbar improvements
- correctly restore button position after width change (bug #0012031)
  - don't allocate width for invisible controls on the toolbar, notify toolbar when toolbutton visibility changes (mentioned in the bug #0012031)

git-svn-id: trunk@18482 -
2009-01-29 06:03:26 +00:00
mattias
d0c44e6ff9 LCL: TTreeView: implemented editing
git-svn-id: trunk@18355 -
2009-01-20 14:06:28 +00:00
vincents
8b26a74894 LCL: implemented MouseWheel handler for treeview (fixes issue #13002)
scroll whole lines when scrolling vertically as indicated in comment.

git-svn-id: trunk@18346 -
2009-01-19 21:29:10 +00:00
paul
545a71f8fa lcl: add delphi compatible DrawPanel method to the TStatusBar to allow component descendants override it without hooking to event
git-svn-id: trunk@18319 -
2009-01-17 10:56:29 +00:00
vincents
38adeef869 lcl: implemented owner drawn statusbar in the LCL and the win32 widget set (issue #1679)
* based on a patch from Leslie Kaye
* doesn't work yet for themed windows XP

git-svn-id: trunk@18312 -
2009-01-16 19:22:58 +00:00
paul
e5ead902a7 lcl: don't allow to set position of trackbar outside Min and Max (based on idea of Leslie Kaye, bug #0012893)
git-svn-id: trunk@18008 -
2009-01-01 10:23:00 +00:00
paul
d9491a4528 lcl: fix header
git-svn-id: trunk@18002 -
2008-12-31 03:07:17 +00:00
paul
3596127a45 lcl: set default value for TStatusPanel.Alignment
git-svn-id: trunk@17726 -
2008-12-08 10:27:07 +00:00
paul
9e6ad52bfa lcl: force treeview to reset scrollbar info after window recreation (#0012761)
win32: redraw scrollbars also if themes are not used but available (xp application without manifest)

git-svn-id: trunk@17722 -
2008-12-08 07:58:31 +00:00
paul
c806339762 lcl: publish wheel events for trackbar (by request of Maxim Ganetsky)
git-svn-id: trunk@17703 -
2008-12-06 14:43:30 +00:00