mattias
30eede4ac8
LCL: reduce flicker when docking
...
git-svn-id: trunk@24906 -
2010-04-25 11:22:27 +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
c720ac78ac
TControl.HandleObjectShouldBeVisible check for csDestroying
...
git-svn-id: trunk@24832 -
2010-04-22 22:22:46 +00:00
mattias
a621fde33e
LCL: no autosize for designtime controls with Parent=nil
...
git-svn-id: trunk@24792 -
2010-04-21 15:12:19 +00:00
mattias
e753b4251f
LCL: TControl.ManualDock fixed Disable autosizing
...
git-svn-id: trunk@24764 -
2010-04-20 22:46:23 +00:00
mattias
0f1f142898
LCL: disable autosize during ManualFloat
...
git-svn-id: trunk@24757 -
2010-04-20 20:05:59 +00:00
mattias
6e8382eca2
LCL: disable autosize during ManualDock
...
git-svn-id: trunk@24755 -
2010-04-20 19:24:04 +00:00
paul
de7e3bb122
lcl: formatting
...
git-svn-id: trunk@24708 -
2010-04-19 03:13:55 +00:00
mattias
d3bbbfee65
LCL: SetBidiMode: call AdjustSize, bug #14951
...
git-svn-id: trunk@24687 -
2010-04-17 20:08:46 +00:00
mattias
9b64ffb4c8
LCL: TControl.DoDock: when NewDockSite.AutoSize consider Align
...
git-svn-id: trunk@24455 -
2010-04-05 21:47:07 +00:00
mattias
ed6c7180b2
LCL: TControl.DoDock: when NewDockSite.AutoSize then use current control bounds
...
git-svn-id: trunk@24454 -
2010-04-05 21:44:29 +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
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
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
paul
2dfb22d93e
lcl: apply patch of Juha Manninen which registers more VCL compatibility properties which LCL should skip while reading
...
git-svn-id: trunk@24327 -
2010-04-01 00:49:45 +00:00
mattias
1ee2beda9e
LCL: TLabel: do not change size in DoAutoSize, TWinControl.CreateWnd: invalidatepreferredszie of childs - needed for non TWinControl
...
git-svn-id: trunk@24263 -
2010-03-28 11:53:08 +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
paul
c93ed80353
lcl: cleanup
...
git-svn-id: trunk@24161 -
2010-03-22 03:55:06 +00:00
martin
ce1a8b7e1c
Undo Revision 24150 #55f4c6d87b ( TControl: Call RemoveFreeNotification on PopUpMenu, when replaced )
...
git-svn-id: trunk@24156 -
2010-03-22 00:05:44 +00:00
martin
55f4c6d87b
TControl: Call RemoveFreeNotification on PopUpMenu, when replaced
...
git-svn-id: trunk@24150 -
2010-03-21 18:02:07 +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
62fc1305ad
LCL: improved debugging changebounds, removed TCustomLabel AdjustSize in loaded
...
git-svn-id: trunk@24075 -
2010-03-18 00:17:35 +00:00
mattias
3f79d12265
LCL: fixed endless loop on TLabel.SetBounds
...
git-svn-id: trunk@24074 -
2010-03-17 23:42:45 +00:00
mattias
bf4387a62b
LCL: improved debugging, TScrollingWinControl.CreateWnd: reduce autosizing overhead
...
git-svn-id: trunk@24068 -
2010-03-17 15:46:11 +00:00
mattias
51ff42e26c
lcl: reduce autosizing during TControl.Create, updateinterfaceconstraints only if handle is allocated
...
git-svn-id: trunk@24065 -
2010-03-17 15:04:36 +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
e513f0292c
lcl: rework LM_CONTEXTPOPUP - recursively call it on right mouse button up (issue #0015709 )
...
git-svn-id: trunk@24005 -
2010-03-15 07:56:44 +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
874b22249a
LCL: made NewAutoSize default, added -dOldAutoSize
...
git-svn-id: trunk@23943 -
2010-03-11 15:49:01 +00:00
mattias
44d0f22378
LCL: newautosize: removed debugging
...
git-svn-id: trunk@23942 -
2010-03-11 15:31:17 +00:00
mattias
9402dc6254
lcl: newautosize: skip autosize for non TWinControl
...
git-svn-id: trunk@23940 -
2010-03-11 15:06:01 +00:00
mattias
da51b1637f
lcl: newautosize: reduced debugging
...
git-svn-id: trunk@23899 -
2010-03-09 17:00:07 +00:00
mattias
399be47abf
lcl; newautosize: reduced debugging
...
git-svn-id: trunk@23894 -
2010-03-09 15:55:00 +00:00
mattias
bc3ac28658
LCL: newautosize: fixed TControl.EndAutoSizing
...
git-svn-id: trunk@23888 -
2010-03-09 13:18:04 +00:00
paul
233b6549b8
lcl: start implementation for gtk SetParent and TWinControl.ParentWindow
...
git-svn-id: trunk@23856 -
2010-03-07 06:23:24 +00:00
mattias
f15052d222
LCL: newautosize: more debugging
...
git-svn-id: trunk@23855 -
2010-03-07 00:43:08 +00:00
mattias
108c4be5b8
lcl: newautosize: fixed beginformupdate
...
git-svn-id: trunk@23851 -
2010-03-06 23:29:14 +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
mattias
5848a2067c
LCL: TControl.FontChanged: moved AutoSize from TWinControl to TControl
...
git-svn-id: trunk@23367 -
2010-01-04 12:39:53 +00:00
blikblum
81c0ec994c
lcl: Reset FParentFont directly in TControl.FontChanged to avoid sending CM_PARENTFONTCHANGED message
...
git-svn-id: trunk@23259 -
2009-12-24 11:34:56 +00:00
blikblum
0ebeaa915f
lcl: In TControl.Loaded reset Parent* properties directly instead of through setter to avoid sending CM_PARENT*CHANGED messages
...
git-svn-id: trunk@23257 -
2009-12-24 11:07:22 +00:00
paul
52d15f47b8
lcl: revert some Luiz changed regards removing redundant FParentSomething := True changes. They are not redundant!
...
git-svn-id: trunk@23251 -
2009-12-24 07:16:27 +00:00
blikblum
a6b3593987
lcl: remove check for FParent in since it assumes that FParent <> nil (TForm handles the case FParent = nil)
...
git-svn-id: trunk@23249 -
2009-12-24 01:26:52 +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
blikblum
55d2de062f
lcl: removed redundant assignments in CMParentColorChanged, CMParentShowHintChanged, CMParentBidiModeChanged
...
git-svn-id: trunk@23245 -
2009-12-23 18:54:46 +00:00
luiz
abdf00ce23
lcl: remove redundant assignment of FParentFont in TControl.ParentFontChanged
...
git-svn-id: trunk@23242 -
2009-12-23 15:42:04 +00:00