mattias
0dafa843e3
anchordocking: manualdock to custom dock site
...
git-svn-id: trunk@26143 -
2010-06-16 07:26:01 +00:00
mattias
d35da02263
LCL: TDockManager.BeginUpdate does not need to be implemented
...
git-svn-id: trunk@26009 -
2010-06-09 21:49:37 +00:00
mattias
bdb7a1945e
LCL: made DoOnShowHint virtual
...
git-svn-id: trunk@25968 -
2010-06-08 13:04:39 +00:00
mattias
a760ac7f88
LCL: added UpdateDockCaption, GetDefaultDockCaption uses caption instead of name
...
git-svn-id: trunk@25942 -
2010-06-06 07:10:50 +00:00
mattias
29b27d13ba
LCL: TWinControl.RemoveControl virtual
...
git-svn-id: trunk@25824 -
2010-06-01 20:30:36 +00:00
mattias
e2ad22aaa0
LCL: comments
...
git-svn-id: trunk@25796 -
2010-05-31 07:21:19 +00:00
mattias
08af96e2f0
LCL: improved TControl.GetDockEdge
...
git-svn-id: trunk@25794 -
2010-05-31 06:55:03 +00:00
mattias
dd770a60f3
LCL: comments
...
git-svn-id: trunk@25785 -
2010-05-30 22:11:50 +00:00
mattias
525e8f2516
LCL: renamed addhandler parameter AsLast to AsFirst, because this is more intuitive
...
git-svn-id: trunk@25768 -
2010-05-30 13:59:44 +00:00
mattias
57e6a22d2c
LCL: added warning when painting outside of paint message
...
git-svn-id: trunk@25700 -
2010-05-27 16:02:21 +00:00
mattias
0e43e06e7c
LCL: TDockManager: added overload InsertControl
...
git-svn-id: trunk@25550 -
2010-05-20 18:43:28 +00:00
sekelsenmat
9d7aa39624
Implements a new form style: fsSystemStayOnTop, reverts win32 fsStayOnTop to mean staying on top of the App only and implements sending WM_HOTKEY messages to the user TMyForm.WndProc. Also adds the OldFormStyle to the parameters of TWSCustomForm.SetFormStyle so that it isn't always necessary to recreate the Wnd.
...
git-svn-id: trunk@25531 -
2010-05-20 09:28:21 +00:00
mattias
5ebecf8cf5
LCL: fixed center anchoring
...
git-svn-id: trunk@25516 -
2010-05-19 15:14:22 +00:00
mattias
75cd574d96
LCL: use AdjustClientRect for AnchorSides
...
git-svn-id: trunk@25515 -
2010-05-19 13:40:14 +00:00
mattias
8011e7b757
LCL: implemented considering parent anchored sides for Parent s auto size
...
git-svn-id: trunk@25370 -
2010-05-13 15:49:36 +00:00
mattias
1bb0bd225f
LCL: fixed TAnchorSIde.IsAnchoredToParent
...
git-svn-id: trunk@25271 -
2010-05-09 08:16:14 +00:00
mattias
5c65c9304e
LCL: TToolBar: improved check if width is fixed and autosize, bug #16425
...
git-svn-id: trunk@25264 -
2010-05-08 20:02:33 +00:00
paul
0254875222
lcl: fix OnEnter/OnExit handling:
...
- don't assume DoEnter, DoExit are the same as WM_SETFOCUS, WM_KILLFOCUS - Enter must happen for all controls from the current focused control to the new focused control on the form, Exit must happen from the focused control to the first parent of the new focused control. If another focusing event happens during this look we need to stop the loop and return False state for SetFocusedControl method (this is VCL compatible behavior)
- handle enter, exit code in SetFocusedControl because this is the only place where form handles focus for child controls
- send CM_ENTER, CM_EXIT messages instead of direct call of DoEnter, DoExit methods
- reimplement SaveFocusState, RestoreFocusState - save restore the last global focused control
(fixes issue #0014041 )
git-svn-id: trunk@25255 -
2010-05-08 16:18:40 +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
cf55952b42
removed OldAutoSize
...
git-svn-id: trunk@25190 -
2010-05-04 19:16:18 +00:00
mattias
7b9891bf7c
LCL: TWinControl.DoFlipCildren adjust Anchors, bug #16247
...
git-svn-id: trunk@25175 -
2010-05-04 10:04:40 +00:00
mattias
6c2176837f
LCL: added TWinControl.FAlignOrder a list to define the order of aligned controls whenusing same positions
...
git-svn-id: trunk@25173 -
2010-05-04 09:52:22 +00:00
paul
958a4ce3cd
lcl: formatting
...
git-svn-id: trunk@25164 -
2010-05-04 05:44:29 +00:00
mattias
8e46525cff
LCL: added debugging flag -dVerboseClientRectBugFix
...
git-svn-id: trunk@25011 -
2010-04-27 15:42:03 +00:00
mattias
29ed629a01
LCL: handling WMWindowPosChanged form interface
...
git-svn-id: trunk@24971 -
2010-04-26 16:25:26 +00:00
mattias
7b5a4418e3
LCL: trigger OnResize after the LCL has autosized once, Parent is called after Childs
...
git-svn-id: trunk@24848 -
2010-04-23 09:26:12 +00:00
mattias
c4c7983818
LCL: call TDockManager.ResetBounds in TWinControl.AlignControls for Delphi compatibility
...
git-svn-id: trunk@24829 -
2010-04-22 20:57:25 +00:00
paul
e35edecdc5
lcl: return back TData and TTime definitions
...
git-svn-id: trunk@24778 -
2010-04-21 02:02:42 +00:00
mattias
d55f679aeb
LCL: call DockManager.ResetBounds on every change bounds
...
git-svn-id: trunk@24763 -
2010-04-20 22:40:59 +00:00
paul
163ee22f48
lcl: apply patch of Sven Barth to remove TDate, TTime types declarations for FPC >= 2.5 (issue #0015474 )
...
git-svn-id: trunk@24714 -
2010-04-19 08:21:15 +00:00
mattias
5c3e8a2458
LCL: moved form positon code to TCustomForm.MoveToDefaultPosition, positioning form before sending bounds to interface
...
git-svn-id: trunk@24498 -
2010-04-08 11:02:45 +00:00
mattias
6f3d675400
LCL: added ControlStyle csAutoSize0x0 to allow shrinking controls to 0,0 - the widgetset constraints will still apply, TPanel uses this
...
git-svn-id: trunk@24444 -
2010-04-05 18:49:54 +00:00
mattias
c89fa706ff
LCL: AutoSize=true, no childs, no content, consider AdjustClientRect
...
git-svn-id: trunk@24440 -
2010-04-05 18:08:52 +00:00
mattias
7d8ef3e279
LCL: comments
...
git-svn-id: trunk@24390 -
2010-04-04 09:33:57 +00:00
mattias
64714af5b6
LCL: fixed oldautosize
...
git-svn-id: trunk@24385 -
2010-04-03 22:07:28 +00:00
mattias
3729314672
LCL: TControl.DoAutoSize: autosizes to peferred size
...
git-svn-id: trunk@24379 -
2010-04-03 15:52:01 +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
9ec360a2e8
LCL: newautosize: AutoSizeDelayed ignore HandleAllocated, UpdateControlState: call AdjustSize instead of UpdateShowing to delay showing after the bounds have been computed
...
git-svn-id: trunk@24256 -
2010-03-27 22:58:28 +00:00
mattias
c70222fe4e
LCL: debugging for disableautosizing
...
git-svn-id: trunk@24096 -
2010-03-19 11:24:42 +00:00
mattias
e7b5a78d0f
LCL: added debugging for Disable/EnableAutoSizing
...
git-svn-id: trunk@24094 -
2010-03-19 11:11:47 +00:00
mattias
7699be6191
LCL: removed LockBaseBounds, OnChangeBounds can now change its own bounds, bug #16028
...
git-svn-id: trunk@24085 -
2010-03-18 15:05:07 +00:00
mattias
f736a0b704
LCL: autosize: removed autosizecanstart
...
git-svn-id: trunk@24042 -
2010-03-16 15:02:05 +00:00
paul
eef0d16e78
lcl: fix LM_CONTEXTMENU handling - use another message structure (windows compatible). also hopefully fixes 64bit compilation (issue #0016000 )
...
git-svn-id: trunk@24011 -
2010-03-15 14:23:02 +00:00
paul
770d3e2d9d
lcl: fix new autosize to work with ParentWindow too
...
git-svn-id: trunk@24003 -
2010-03-15 03:24:29 +00:00
mattias
36ed6fbb12
LCL: added TCOntrolState csCreating for Delph compatibility
...
git-svn-id: trunk@23957 -
2010-03-11 21:46:51 +00:00
mattias
6c43608618
LCL: removed unused flag csCreating
...
git-svn-id: trunk@23952 -
2010-03-11 20:59:37 +00:00
mattias
874b22249a
LCL: made NewAutoSize default, added -dOldAutoSize
...
git-svn-id: trunk@23943 -
2010-03-11 15:49:01 +00:00
mattias
4402426dd3
lcl: newautosize: create parent handle before child handle
...
git-svn-id: trunk@23872 -
2010-03-07 23:43:23 +00:00
mattias
3d1b378679
LCL: newautosize: create parent handle before child handles
...
git-svn-id: trunk@23854 -
2010-03-07 00:09:38 +00:00
paul
a20e1dcaac
lcl: change use of CreateParams:
...
- move TForm.PopupParent handling to CreateParams (it only chooses a right Parent handle)
- check also ParentWindow property when setting WndParent in CreateParams
win32: use TCreateParams WndParent property for CreateWindow
git-svn-id: trunk@23840 -
2010-03-05 08:14:49 +00:00
marc
b34a510ef8
* lcl: added missing ChangeBiDiModeAlignment procedure. Part of lclextentions integration.
...
git-svn-id: trunk@23551 -
2010-01-24 18:11:51 +00:00
blikblum
442c987512
lcl: use message CM_PARENTFONTCHANGED to notify of parent font change. This is Delphi compatible, fixes the order of the font change events and is consistent with the other parent properties notifications: Color, ShowHint, BidiMode
...
git-svn-id: trunk@23246 -
2009-12-24 01:05:47 +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
5b7d36de82
lcl, designer, ideintf, components: rename csOwnedChildsNotSelectable -> csOwnedChildrenNotSelectable
...
git-svn-id: trunk@23185 -
2009-12-18 10:07:11 +00:00
paul
f5ace1ab3f
lcl: fix spelling 'childs' -> 'children'
...
git-svn-id: trunk@23180 -
2009-12-18 08:09:57 +00:00
paul
4e64aed98d
lcl: formatting
...
git-svn-id: trunk@23146 -
2009-12-15 05:53:22 +00:00
paul
0f2bfd7211
lcl: don't store Color property if Parent=nil but ParentColor = False - this causes ancestor frames which have no parent to load wrong clWindow color
...
git-svn-id: trunk@22933 -
2009-12-03 07:47:02 +00:00
mattias
0d6aff22e1
csOwnedChildsSelectable inverted and renamed to csOwnedChildsNotSelectable
...
git-svn-id: trunk@22852 -
2009-11-28 15:18:27 +00:00
mattias
f0afca08f5
LCL: reduced debugging under wince
...
git-svn-id: trunk@22777 -
2009-11-25 22:16:26 +00:00
paul
c911276182
lcl: send CM_CONTROLLISTCHANGE also on Remove (not only on Insert), add TCM_CONTROLLISTCHANGE structure (for delphi compatibility)
...
git-svn-id: trunk@22724 -
2009-11-23 14:10:17 +00:00
paul
ef7f9fa1de
lcl: add protected property WindowHandle for TControl (issue #0015166 )
...
git-svn-id: trunk@22723 -
2009-11-23 13:54:49 +00:00
paul
cf37ea98d1
lcl: bidi mode support for TColorBox, TColorListBox from Zeher Dirkey (issue #0015001 )
...
git-svn-id: trunk@22449 -
2009-11-05 15:01:57 +00:00
paul
616c9d4e4d
lcl: docking: replace
...
DefaultDockTreeClass: TDockTreeClass by
DefaultDockManagerClass: TDockManagerClass
as requested by DoDi
git-svn-id: trunk@22395 -
2009-11-03 03:20:26 +00:00
paul
9f073bba5d
lcl: add Variant => TCaption operator
...
git-svn-id: trunk@22325 -
2009-10-29 04:35:45 +00:00
paul
a350849e6b
lcl: patch from Zaher Dirkey to fix TLabel and TStaticText alignment with respect the BiDi mode (issue #0014915 )
...
git-svn-id: trunk@22312 -
2009-10-28 09:49:18 +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
mattias
96b6819584
LCL: new autosize: added AutoSizePhase
...
git-svn-id: trunk@22058 -
2009-10-06 16:14:27 +00:00
paul
89b271b14f
lcl: remove dummy constructor and destructor from TMouse class
...
git-svn-id: trunk@22035 -
2009-10-05 03:25:02 +00:00
paul
a3d64e981d
lcl: simplified Mouse.GetCursorPos + formatting
...
git-svn-id: trunk@22034 -
2009-10-05 03:17:37 +00:00
mattias
02b4b8e04b
LCL: newautosize delaying autosize
...
git-svn-id: trunk@21720 -
2009-09-15 22:45:42 +00:00
mattias
313244d699
LCL: merged TWinControl.FControls/FWinControls - needed for layouts
...
git-svn-id: trunk@21707 -
2009-09-15 01:01:00 +00:00
paul
be1d125c88
lcl: distinct AutoCreated TDragObject and AutoFree TDragObject:
...
- first is created internally by LCL if in DragStart none DragObject is passed
- second is a TDragObject which must be auto destructed on drag drop operation finish
(more delphi compatible and fixes issue #0014476 )
git-svn-id: trunk@21544 -
2009-09-03 00:55:03 +00:00
mattias
7799ac78c6
LCL: started new autosizing phases
...
git-svn-id: trunk@21491 -
2009-08-30 21:30:57 +00:00
mattias
074aa39eb1
IDE: disable csSetCaption when creating component, caption is set during loading OR when creating a new component, but not both, needed for empty caption
...
git-svn-id: trunk@21472 -
2009-08-28 06:54:14 +00:00
mattias
8300860867
LCL: reordered variables of TAnchorSide as workaround for bug #14364
...
git-svn-id: trunk@21345 -
2009-08-20 10:39:26 +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
523351a53f
lcl: formatting
...
git-svn-id: trunk@21263 -
2009-08-17 16:07:23 +00:00
paul
fd9e3c084e
lcl: properly release control resources on TWinControl.DestroyWnd:
...
- notify child controls (only TControl, not TWinControl) before parent handle destruction to perform appropriate preparations inside controls
- release canvas handle of TGraphicControl when before parent handle destruction
(fixes issue #0014152 )
git-svn-id: trunk@20874 -
2009-07-17 02:44:31 +00:00
paul
9a7b124e9d
lcl: apply "Proper initialization of the docking object" from Hans-Peter Diettrich (issue #0013945 )
...
git-svn-id: trunk@20628 -
2009-06-15 02:18:26 +00:00
mattias
6da7ac1398
LCL: implemented BidiMode for ChildSizing.Layout
...
git-svn-id: trunk@20557 -
2009-06-09 17:39:04 +00:00
paul
8140fd8755
lcl: add more extra mouse buttons support
...
git-svn-id: trunk@20536 -
2009-06-09 04:25:32 +00:00
mattias
e50a4f4556
LCL: TAnchorSide.GetSidePosition check always for circles
...
git-svn-id: trunk@20298 -
2009-05-29 14:24:23 +00:00
paul
656d65cb06
lcl: LDockTree: fix drop to non-empty root zone (issue #0013770 )
...
git-svn-id: trunk@20080 -
2009-05-20 14:55:59 +00:00
paul
4a690c2f5a
lcl: TDockObject: add Dropped property for delphi compatibility (issue #0013427 )
...
git-svn-id: trunk@20067 -
2009-05-20 05:54:07 +00:00
paul
7f29518b52
lcl: add Sender argument to TDockManager.MessageHandler
...
git-svn-id: trunk@20059 -
2009-05-20 02:22:52 +00:00
paul
fe8960bd81
lcl: rename TDockManager.MouseMessage to TDockManager.MessageHandler to allow handling of more messages
...
git-svn-id: trunk@20058 -
2009-05-20 02:19:28 +00:00
paul
3cd340fe31
lcl: formatting
...
git-svn-id: trunk@19966 -
2009-05-15 01:57:42 +00:00
paul
3e258b4ef8
lcl: request Font and Color update after DestroyWnd call to properly restore them after new Handle creation (fixes issue #0011935 )
...
git-svn-id: trunk@19936 -
2009-05-12 05:23:55 +00:00
paul
469effabc4
lcl: don't compare old capture control with new in SetCaptureControl, do it in any case. Read description in comment. Fixes issue #13615 .
...
git-svn-id: trunk@19705 -
2009-04-30 08:21:17 +00:00
paul
4a1309f268
lcl: formatting
...
git-svn-id: trunk@19704 -
2009-04-30 08:04:12 +00:00
paul
670a37d8c4
lcl: add comments why Left, Top, Height, Width have no default values
...
git-svn-id: trunk@19632 -
2009-04-26 12:54:56 +00:00
paul
f422f8db79
lcl: set default value for TControl.DoubleBuffered (issue #0013593 )
...
git-svn-id: trunk@19630 -
2009-04-26 12:15:44 +00:00
paul
cf6f94ec98
lcl: forgotten change
...
git-svn-id: trunk@19437 -
2009-04-15 07:25:50 +00:00
paul
837c2f1563
lcl: cleanup
...
git-svn-id: trunk@19392 -
2009-04-13 01:26:30 +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
f7577be51b
lcl: move Dock Image handling from the drag manager to the TDragDockObject (part of issue #0013427 )
...
git-svn-id: trunk@19202 -
2009-04-03 05:59:46 +00:00
paul
e9ab826ce1
lcl: fix TDragObjectEx and other Ex object Create constructors (by patch of Hans-Peter Diettrich, part of #0013427 )
...
git-svn-id: trunk@19187 -
2009-04-01 14:23:44 +00:00
paul
a395aebafc
lcl: drag/dock (from patch of Hans-Peter Diettrich, issue #0013427 )
...
- add TDragObject.AutoCreate constructor
- add TDragObjectEx, TDragControlObjectEx, TDragDockObjectEx for delphi compatibility
- remove TDragDockCommon.FDragObjectAutoFree, use AutoCreated property of TDragObject instead
- simplify TControl.GetFloating
git-svn-id: trunk@19168 -
2009-03-31 06:47:01 +00:00
paul
c501a479b7
lcl: allow to set crNone cursor in the designer (issue #0013424 )
...
git-svn-id: trunk@19160 -
2009-03-30 13:45:16 +00:00
paul
9713e8b48c
lcl: add TControl.AutoSizingLockCount protected read only property for use in child classes,
...
don't remove fsDisableAutoSize in TCustomForm.WMPaint handler if we are inside AutoSizing (fixes bug #0013378 )
git-svn-id: trunk@19071 -
2009-03-23 09:34:48 +00:00
paul
0265fae03f
lcl: implemented GetParentComponent for TControl (part of issue #0013217 ) from Alexander S. Klenin
...
git-svn-id: trunk@18781 -
2009-02-20 17:55:47 +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
sekelsenmat
ddf3663f55
Adds a setShape for regions in TWinControl
...
git-svn-id: trunk@18665 -
2009-02-13 15:35:02 +00:00
paul
e14c92e885
lcl: apply few comments related to docking from Hans-Peter Diettrich (issue #0013118 )
...
git-svn-id: trunk@18625 -
2009-02-10 02:01:54 +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
80e3207944
fix gtk autosize loop
...
git-svn-id: trunk@18574 -
2009-02-05 02:55:49 +00:00
paul
702dc11c4c
lcl: apply patch of Hans-Peter Diettrich (issue #0013034 ) - Missing dock manager notifications (with small my changes)
...
git-svn-id: trunk@18573 -
2009-02-05 02:06:26 +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
748f663981
lcl: BorderWidth
...
- TWinControl: send CM_BORDERCHANGED when borderwidth property is changed
- TPanel: move DoAdjustClientRectCache to the TWinControl CM_BORDERCHANGED handler; use that handler to handle bevel changes; use TWinControl BorderWidth property instead of own
- implement TForm.BorderWidth (part of issue #0001182 )
git-svn-id: trunk@18513 -
2009-01-31 11:27:20 +00:00
paul
75fcdb8abe
lcl: initial support for arrow keys, handle CM_WANTSPECIALKEY for tabs and arrows
...
git-svn-id: trunk@18461 -
2009-01-27 09:05:42 +00:00
paul
685e4613f7
lcl: add csNoDesignVisible to the HiddenRadioButton of TRadioGroup
...
git-svn-id: trunk@18458 -
2009-01-27 04:18:58 +00:00
paul
949b2781aa
win32: pass WM_CANCELMODE to the LCL,
...
lcl: stop mouse capture on LM_CANCELMODE (issue #0012813 )
git-svn-id: trunk@18393 -
2009-01-23 02:40:28 +00:00
mattias
3502222ac1
LCL: changed default RTTI value of Ctl3d to false
...
git-svn-id: trunk@18353 -
2009-01-20 11:27:10 +00:00
mattias
f8114b3622
fixed typo
...
git-svn-id: trunk@18352 -
2009-01-20 11:15:21 +00:00
paul
10ad596863
lcl: move bidi mode fields and methods to the correct containers, increase visibility of some methods, make SetBidiMode and SetParentBidiMode virtual (mantis #0012971 )
...
git-svn-id: trunk@18266 -
2009-01-13 03:40:42 +00:00
marc
12750cd509
* Allow custom defaults for Borderspacing in derived Controls
...
git-svn-id: trunk@18256 -
2009-01-11 17:22:27 +00:00
marc
1fbe62ce7f
* Missing custom align events
...
git-svn-id: trunk@18217 -
2009-01-08 23:22:24 +00:00
marc
fd3ab04151
+ Added missing custom align methods (VCL compatebility)
...
git-svn-id: trunk@18203 -
2009-01-08 00:43:38 +00:00
paul
c92465fa27
lcl: Patch for docking: InsertControl (from Hans-Peter Diettrich, mantis #0012909 )
...
git-svn-id: trunk@18094 -
2009-01-04 08:30:53 +00:00
paul
d9491a4528
lcl: fix header
...
git-svn-id: trunk@18002 -
2008-12-31 03:07:17 +00:00
paul
0206260c62
lcl: docking - reposition children after the dock layout change
...
git-svn-id: trunk@17860 -
2008-12-19 07:16:03 +00:00
paul
24d3205a30
lcl: fix many TLazDockTree bugs, add a method to output Dock Layout to html (to look at and understand how to fix it further)
...
git-svn-id: trunk@17855 -
2008-12-18 07:08:34 +00:00
paul
a3eafb41c7
lcl: set some default values to TControl properties
...
git-svn-id: trunk@17697 -
2008-12-06 11:11:09 +00:00
paul
fb380a80d4
ide, codetools, ideintf: fix warnings
...
git-svn-id: trunk@17616 -
2008-11-28 02:53:56 +00:00
paul
12aeba4f6f
lcl: set defaults for TBorderSpacing and TChildSizing properties
...
git-svn-id: trunk@17611 -
2008-11-27 07:57:27 +00:00
paul
6e2e2c1ff2
lcl: update visibility of methods to prevent compiler warnings
...
- move KeyDown, KeyUp, DoMouseWheelDown, DoMouseWheelUp, ColorIsStored, Paint, and other misc methods from public to protected
- move some descendants methods from lower visibility to higher
- fix use of protected KeyDown, Paint inside few ide units
git-svn-id: trunk@17564 -
2008-11-24 08:15:23 +00:00
mattias
0b0d219245
fixed some visibilities
...
git-svn-id: trunk@17521 -
2008-11-22 16:13:03 +00:00
paul
de8dfe7d17
lcl: set default [akLeft, akTop] for Anchors property
...
git-svn-id: trunk@17506 -
2008-11-22 10:33:07 +00:00
paul
0392c33c7f
lcl: set default values for some properties
...
git-svn-id: trunk@17403 -
2008-11-16 02:21:19 +00:00
paul
586365803f
qt,gtk,gtk2: use TPanel.BorderStyle in widget initialization code
...
gtk, gtk2: use GtkFrame instead of GTkHBox to implement panel container (since Frame can handle our BorderStyle property)
git-svn-id: trunk@16887 -
2008-10-06 02:15:17 +00:00
paul
1fa9302245
lcl: set ParentFont = True by default (delphi compatible and #0012046 )
...
git-svn-id: trunk@16536 -
2008-09-11 02:55:31 +00:00
paul
44bad2e31d
lcl: don't call abstract TDockTree.MouseMessage method (reported on russian forum)
...
git-svn-id: trunk@16519 -
2008-09-10 03:24:28 +00:00
mattias
d27b3adf0d
LCL: updating AutoSize=true controls when preferred size changed
...
git-svn-id: trunk@16087 -
2008-08-16 18:31:55 +00:00
mattias
34d463ad71
lcl: reduced debugging
...
git-svn-id: trunk@15878 -
2008-07-26 17:00:46 +00:00
mattias
90cb8f39ac
syendit: fixed SetScrollBars calling RecreateWnd
...
git-svn-id: trunk@15877 -
2008-07-26 16:59:54 +00:00
mattias
acf407802a
IDE: showing keymapping grab debugging info
...
git-svn-id: trunk@15856 -
2008-07-24 10:59:32 +00:00
mattias
2996a3c332
rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
...
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
mattias
e92a0bdc32
LCL: moved mousewheel handlers from TWinControl to TControl
...
git-svn-id: trunk@15319 -
2008-06-05 16:16:13 +00:00
paul
1843642237
lcl: rearrange some class fields as suggested by Luiz to reduce occupied memory
...
git-svn-id: trunk@15201 -
2008-05-22 02:10:13 +00:00
paul
9bdd9bd85f
lcl: pass Control instead of TDragControlObject into OnDragXXX events if TDragControlObject has been created automatically (for delphi compatibility) (issue #0001850 )
...
git-svn-id: trunk@14855 -
2008-04-17 06:36:53 +00:00
paul
11de6af8b9
decapitalize all procedure and function keywords to make all looks the same
...
git-svn-id: trunk@14375 -
2008-03-03 08:06:26 +00:00
paul
38674222ad
drag-dock: take click position into account when dragging control
...
git-svn-id: trunk@14365 -
2008-03-02 15:02:40 +00:00
paul
e533a2bb89
dockheader: handle also CM_MOUSELEAVE message
...
git-svn-id: trunk@14131 -
2008-02-14 09:10:15 +00:00
paul
c3453ee445
formatting
...
git-svn-id: trunk@14129 -
2008-02-14 08:22:19 +00:00
mattias
54bf460d15
LCL: added TDockManager.AutoFreeByControl: boolean needed by shared docking managers
...
git-svn-id: trunk@14081 -
2008-02-11 11:51:29 +00:00
mattias
11e7b203ca
LCL: anchordocking: ManualFloat now calls DoUnDockClientMsg if HostDockSIte=nil and DockManager set
...
git-svn-id: trunk@14074 -
2008-02-10 23:21:27 +00:00
paul
15151ee192
docking:
...
- refactor dock header part searching
- start handle mouse messages for dock header
git-svn-id: trunk@14034 -
2008-02-08 17:20:40 +00:00
mattias
79666bf74b
LCL: small cleanups
...
git-svn-id: trunk@14018 -
2008-02-07 18:39:36 +00:00
paul
543e960d76
dont use direct call of TControl.DoEndDock from DockPerformer (hint from Marius)
...
git-svn-id: trunk@13971 -
2008-02-04 02:39:25 +00:00