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
paul
6826699163
drag/drop:
...
- restore CancelDrag
- restore DragManager.EndDrag
git-svn-id: trunk@13952 -
2008-02-02 09:45:19 +00:00
paul
f1d8f78b0c
initial implementation of TWinControl.SetShape for gtk, qt, win32 + example
...
git-svn-id: trunk@13874 -
2008-01-25 06:56:57 +00:00
paul
81f6e73177
fix AutoDragging in TCustomTreeView
...
git-svn-id: trunk@13871 -
2008-01-24 23:45:25 +00:00
paul
fea0888a37
fix qt crashes
...
git-svn-id: trunk@13808 -
2008-01-20 14:22:38 +00:00
paul
5d5c45f770
remove csHasInternalChilds (no need)
...
git-svn-id: trunk@13799 -
2008-01-19 13:28:10 +00:00
paul
7e0bffce57
add csHasInternalChilds, assign it to PairSplitter and handle it during TabList populating (solves 0010628)
...
git-svn-id: trunk@13795 -
2008-01-19 11:07:41 +00:00
mattias
f3efce1701
LCL: anchor docking: auto cleanup on undock/hiding, undocking pages, anchoring on manualfloat for non forms, fixed undocking pages, TSplitter: fixed anchor splitter max/min
...
git-svn-id: trunk@13760 -
2008-01-15 19:31:02 +00:00
paul
df6de142fe
TWinControl.DoUnDock: result = true by default
...
git-svn-id: trunk@13740 -
2008-01-13 15:47:00 +00:00
paul
be879539ca
- move OnGetDockCaption and friends to TWinControl
...
- some improvements to dock header drawing
git-svn-id: trunk@13681 -
2008-01-09 09:08:12 +00:00
mattias
0da528ffe8
LCL: TLazDockTree: implemented RemoveControl, refactored: TDragManager ancestor to TComponent, fixed undocking
...
git-svn-id: trunk@13673 -
2008-01-08 23:38:14 +00:00
mattias
92861f6679
LCL: made TControl.SetVisible virtual. This fixes using TControl(AForm).Visible:=true during creation
...
git-svn-id: trunk@13621 -
2008-01-04 19:14:18 +00:00
paul
f089997530
formatting some code
...
git-svn-id: trunk@13619 -
2008-01-04 18:04:26 +00:00
paul
a7b954b68b
restore some TMouse properties from Marius (issue #0010536 )
...
git-svn-id: trunk@13610 -
2008-01-03 16:42:47 +00:00
paul
60e3581489
restore TDragObject.AlwaysShowDragImages
...
git-svn-id: trunk@13585 -
2008-01-02 17:33:05 +00:00
mattias
525fec94be
LCL: replaced drag/dock messages with a cleaner TDragManager from Marius
...
git-svn-id: trunk@13564 -
2008-01-01 23:35:52 +00:00
paul
c711f7fcfc
change formatting in some units: decapitalize keywords, spacing
...
git-svn-id: trunk@13387 -
2007-12-19 09:09:18 +00:00
mattias
fd641213fc
LCL: undo docking patch
...
git-svn-id: trunk@13349 -
2007-12-16 11:00:25 +00:00
mattias
767859d068
IDE: implemented short cuts for ecSetFreeBookmark, ecPrevBookmark, ecNextBookmark
...
git-svn-id: trunk@13348 -
2007-12-16 10:58:01 +00:00
paul
3ed6ba4007
TWinControl.PaintTo:
...
- implementation for win32 and qt
- initial implementation for gtk
git-svn-id: trunk@13209 -
2007-12-07 18:56:17 +00:00
mattias
1e96af5fb0
LCL: fixed wrong IFDEF DisableLoadedClientSize
...
git-svn-id: trunk@12944 -
2007-11-21 01:05:36 +00:00
mattias
9210c88cc5
LCL: anchoring opposite to invisible control now uses the opposite side - more intuitive
...
git-svn-id: trunk@12800 -
2007-11-09 19:29:14 +00:00
mattias
112a347fa5
LCL: autosizing now uses logical clienrect, so Align<>alNone controls now fills the whole logical area
...
git-svn-id: trunk@12679 -
2007-11-01 14:32:15 +00:00
mattias
178543e288
LCL: reduced number of TWSWinControlClass.SetBounds calls
...
git-svn-id: trunk@12668 -
2007-11-01 02:05:47 +00:00
mattias
c639191753
IDE: compiler opts dlg: fixd lblCompiler spacing, LCL: fixed consistency using GetSpace instead of GetSideSpace
...
git-svn-id: trunk@12619 -
2007-10-28 12:50:46 +00:00
paul
a75cc9ff3c
CheckGroupBox autosizing patch from Mattias
...
git-svn-id: trunk@12530 -
2007-10-20 08:43:21 +00:00
mattias
5bef34477f
LCL: TPage: fixed ReAlign of TPage on leave, resize, return, fixed clean up after delayed resizing when parent controls become visible
...
git-svn-id: trunk@12488 -
2007-10-16 11:45:36 +00:00
mattias
6264aac23c
LCL: fixed using parent borderspacing, fixed anchor spacing for parallel controls, fixed endless loop autosize interdependencies, implemented auto fixing anchor circles, implemented auto fixing center anchoring, fixed calculation of static childsizing layouts, fixed autosizing for controls without preferred size by providing default sizes also used in creation, fixed TSizeConstraints.MinMaxWidth/Height
...
git-svn-id: trunk@12461 -
2007-10-14 12:54:29 +00:00
paul
df48056fc0
LCL: fix shortcut handling for TButton and TCheckBox
...
git-svn-id: trunk@12133 -
2007-09-22 12:54:48 +00:00
mattias
f4eaf90e42
undo
...
git-svn-id: trunk@12129 -
2007-09-22 10:09:27 +00:00
mattias
b647927885
translations: german: added lazreport maincalleditor.de.po from Joerg Braun
...
git-svn-id: trunk@12128 -
2007-09-22 10:06:48 +00:00
marc
5f938bdfed
* Fixed TImage autosizing
...
git-svn-id: trunk@11945 -
2007-09-05 23:41:26 +00:00
marc
d78802c30f
* Restored removed widht property
...
git-svn-id: trunk@11904 -
2007-09-01 14:38:37 +00:00
marc
6767396907
* fixed alpha images on 16 bpp
...
* fixed adding alpha to images
git-svn-id: trunk@11897 -
2007-09-01 02:46:24 +00:00
mattias
4c1b802fe1
LCL: autosizing parent control now work with childs anchored to parent
...
git-svn-id: trunk@11851 -
2007-08-23 20:14:12 +00:00
paul
8eefc8e23f
splitter and pairsplitter improvements:
...
1. ability to control pairsplitter cursor for gtk
2. ability to control pairsplitter internal splitter cursor for others
3. default values for pairsplitter cursor (crHSplit/crVSplit)
4. painting splitter through themes for win32/xp/gtk2 (disabled through -dUseThemes)
5. Clean up
git-svn-id: trunk@11214 -
2007-05-29 09:19:34 +00:00
paul
0b6ce0bd99
BiDiMode patch from zaher dirkey (report 0008955)
...
git-svn-id: trunk@11209 -
2007-05-28 09:06:36 +00:00
mattias
f1ddc29682
LCL: added BeginAlign/EndAlign in TWinControl.Loaded to reduce overhead, gtk2 intf: added GetDefaultClientRect for TGroupBox, doing some resizes now immediately
...
git-svn-id: trunk@11160 -
2007-05-17 21:43:48 +00:00
paul
5629cad996
- prevent csSimple combobox to have double height in runtime
...
- some win32 intf combobox related code moving
git-svn-id: trunk@11071 -
2007-05-04 02:24:45 +00:00
mattias
3012a523fe
fixed FPC 2.0 compilation
...
git-svn-id: trunk@11018 -
2007-04-27 15:06:08 +00:00
mattias
25c19fafdd
gtk2 intf: fixed places were still old gtk_file_selection instead o gtk_file_chooser were used
...
git-svn-id: trunk@11010 -
2007-04-27 07:56:24 +00:00
mattias
029d4f6327
added package prettymessages - an IDE add-on to reduce FPC hints
...
git-svn-id: trunk@11002 -
2007-04-25 16:37:19 +00:00
marc
1a84ef8f8a
* Added dataowner to LazIntfImage
...
* fixes imagelist code
git-svn-id: trunk@10938 -
2007-04-11 23:54:17 +00:00
paul
1cdfd2446a
- some minor changes and comments for native win32 image list
...
- native drag image list implementation for win32
git-svn-id: trunk@10933 -
2007-04-11 05:41:56 +00:00
paul
7e91f10c55
- fixing drag and drop operations over non TWinControl objects (isuue 0008627)
...
git-svn-id: trunk@10894 -
2007-04-06 07:38:26 +00:00
paul
14d8e68b4a
- Step 1 of implementing DragImageList (only barebone)
...
git-svn-id: trunk@10879 -
2007-04-05 09:31:25 +00:00
micha
3ab770a741
* use WindowProc instead of WndProc, like TControl.Perform does
...
git-svn-id: trunk@10840 -
2007-03-31 14:44:23 +00:00
micha
61bef86625
* another ugly winxp theming fix; now for trackbars (issue #2013 )
...
git-svn-id: trunk@10839 -
2007-03-31 14:37:42 +00:00
paul
51b107f511
- implemented TMouse.WheelScrollLines property (issue #0008057 )
...
git-svn-id: trunk@10831 -
2007-03-30 06:09:12 +00:00
vincents
09dccca531
LCL: made TGraphicControl.OnPaint proteced, TShape.OnPaint and TPaintPox.OnPaint public and fixed firing TShape.OnPaint (bug #8246 )
...
git-svn-id: trunk@10607 -
2007-02-07 14:40:42 +00:00
vincents
7001d5cf7b
lcl: fixed double fire of MouseUp event when using right mouse button under win32 (bug #8276 ) from Luiz Americo
...
git-svn-id: trunk@10604 -
2007-02-07 13:21:11 +00:00
mattias
2b1083e359
LCL: SetTempCursor is now called on every mouse move, cursors of TControls
...
git-svn-id: trunk@10595 -
2007-02-05 23:24:03 +00:00
micha
8e29013693
fix cursor position, patch by Paul Ishenin (issue #8181 )
...
git-svn-id: trunk@10533 -
2007-01-29 20:57:51 +00:00
mattias
28dffc6241
LCL: changed LCL additions ControlAtPos to use Flags, added capfNoScrolling
...
git-svn-id: trunk@10489 -
2007-01-22 16:04:05 +00:00
mattias
312ea10264
lcl: moved TWinControlActionLink Help attributes to TControlActionLink from Sergei
...
git-svn-id: trunk@10392 -
2007-01-08 01:27:21 +00:00
mattias
3f4887140f
LCL: OnResize and OnChangeBounds are now suspended after OnCreate
...
git-svn-id: trunk@10360 -
2006-12-30 11:48:48 +00:00
mattias
82dafe9281
LCL: moved TTranslateString to lcltype.pp
...
git-svn-id: trunk@10272 -
2006-12-01 17:11:17 +00:00
mattias
0a487c57cc
codetools: include directives apostrophes are now allowed in all compiler modes
...
git-svn-id: trunk@10236 -
2006-11-24 13:36:03 +00:00
vincents
ba83e8416b
Capture any mouse button by setting CaptureMouseButton property from Tom Gregorovic ( #7653 )
...
git-svn-id: trunk@10159 -
2006-11-02 12:37:20 +00:00
mattias
d6eb52a88b
gtk intf: reduced X queries for GetCursorPos, LCL: extended ControlAtPos to search recursive, gtk2 intf: FindControlAtPos now searches recursive and now finds sub child controls, IDE: renaming units via save-as now consider code renames by user
...
git-svn-id: trunk@10114 -
2006-10-28 10:50:00 +00:00
vincents
ea978a72a0
lcl: made TWinControl.Realign public (issue #7519 )
...
git-svn-id: trunk@10080 -
2006-10-16 13:19:52 +00:00
mattias
4e9094019f
LCL: fixed storing ClientWidth/Height and using them after loading for child controls
...
git-svn-id: trunk@9923 -
2006-09-18 00:08:45 +00:00
mattias
c8913db097
LCL: fixed TCustomPage.IsControlVisible
...
git-svn-id: trunk@9915 -
2006-09-16 10:08:39 +00:00
mattias
f68e5b904f
IDE: improved layout of compiler options, LCL: calling AdjustSize when client rect changed
...
git-svn-id: trunk@9890 -
2006-09-13 20:57:35 +00:00
mattias
0e642e4143
LCL: improved autosizing of TWinControl with childs
...
git-svn-id: trunk@9877 -
2006-09-12 23:22:24 +00:00
mattias
5c7c30f966
LCL aligning: no longer forgets to call DoAutoSize after aligning
...
git-svn-id: trunk@9762 -
2006-08-28 21:36:21 +00:00
mattias
4506e97271
codetools: added static keyword for methods
...
git-svn-id: trunk@9742 -
2006-08-23 17:58:03 +00:00
mattias
b5f8e4e051
updated german translation from Joerg Braun
...
git-svn-id: trunk@9725 -
2006-08-16 22:52:08 +00:00
mattias
ac5ae3b17e
fixed fpc 2.1.1 compilation, docking: implemented shrinking to get space for docked control
...
git-svn-id: trunk@9718 -
2006-08-12 10:55:22 +00:00
mattias
7bb113cec8
fixed a few fpc 2.1.1 incompatibilities
...
git-svn-id: trunk@9716 -
2006-08-11 12:38:00 +00:00
mattias
2c5c77fba2
reduced notes, docking: implemented creating layout
...
git-svn-id: trunk@9666 -
2006-07-22 18:44:26 +00:00
micha
cfd72aa2fb
fix TPageControl.OnChanging event (issue #1984 )
...
git-svn-id: trunk@9632 -
2006-07-19 09:34:42 +00:00
mattias
8dddb17fa3
IDE find replace dlg: fixed resize events
...
git-svn-id: trunk@9587 -
2006-07-10 18:26:56 +00:00
mattias
24649d370c
carbon intf: implemented dosynchronize
...
git-svn-id: trunk@9541 -
2006-07-02 14:23:17 +00:00
mattias
187e308562
LCL now uses ClientWidth/Height, when Width/Height is not specified in lfm
...
git-svn-id: trunk@9530 -
2006-06-30 14:27:08 +00:00
mattias
ab619c7b0a
added virtual TCanvas.FreeHandle and extended TControlCanvas to work without control from Darek
...
git-svn-id: trunk@9428 -
2006-06-12 19:41:12 +00:00
vincents
aa936e7368
TStartDragEvent delphi compatible (issue #6998 )
...
git-svn-id: trunk@9410 -
2006-06-06 21:17:44 +00:00
jesus
c09cf36f2d
fix paintbox canvas isn't moved along his control issue #2096
...
git-svn-id: trunk@9355 -
2006-05-26 00:40:14 +00:00
marc
4fd508b71d
* Fixed #6968
...
git-svn-id: trunk@9351 -
2006-05-25 00:19:07 +00:00
mattias
47a7425d7c
set button/bitbtn borderspacing.innerborder to 4
...
git-svn-id: trunk@9335 -
2006-05-22 08:10:49 +00:00
mattias
235180e4cb
added 6 spacing to compiler opions dlg page code
...
git-svn-id: trunk@9334 -
2006-05-22 07:26:20 +00:00
mattias
e81c0f77a0
added WithThemSpace parameter to GetPreferredSize
...
git-svn-id: trunk@9331 -
2006-05-21 15:47:28 +00:00
mattias
236481b49c
implemented parameter hints
...
git-svn-id: trunk@9314 -
2006-05-20 12:53:57 +00:00
mattias
336c22deda
added Help to TApplication, disable it with Application.Navigation-[anoF1ForHelp]
...
git-svn-id: trunk@9281 -
2006-05-13 17:07:25 +00:00
mattias
6eb4930179
fixed references to COPYING.LCL
...
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
mattias
68b3e095be
added TControlStyle csOwnedChildSelection
...
git-svn-id: trunk@9235 -
2006-05-03 20:28:45 +00:00
mattias
13302aeb6c
added TWinControl.SelectFirst
...
git-svn-id: trunk@9046 -
2006-03-30 09:27:44 +00:00
mattias
0b48164f48
anchordocking: implemented saving layout
...
git-svn-id: trunk@9000 -
2006-03-22 23:18:04 +00:00
mattias
b3acb323cf
added GraphType aliases for Delphi compatibility
...
git-svn-id: trunk@8963 -
2006-03-18 21:51:35 +00:00
mattias
a220d6ec82
combined BeginDrag overloads
...
git-svn-id: trunk@8927 -
2006-03-13 00:20:11 +00:00
mattias
9272283138
restored old tpanel.xpm
...
git-svn-id: trunk@8909 -
2006-03-10 16:19:34 +00:00
mattias
31550f7501
started saving of anchor docking state
...
git-svn-id: trunk@8750 -
2006-02-17 12:36:45 +00:00
mattias
d47a79ff62
added anchor docking example
...
git-svn-id: trunk@8722 -
2006-02-09 18:31:10 +00:00
mattias
ab36f3dace
implemented showing borderspace in designer
...
git-svn-id: trunk@8657 -
2006-01-29 14:57:01 +00:00
mattias
da5881ed7f
fixed ChildSizing spacing and Layout
...
git-svn-id: trunk@8639 -
2006-01-27 21:51:58 +00:00
mattias
9789a6b124
implemented updating on changing BorderSpacing.InnerBorder
...
git-svn-id: trunk@8637 -
2006-01-27 20:52:03 +00:00
mattias
3c3ac6365a
improved AutoSizing for Parent controls
...
git-svn-id: trunk@8636 -
2006-01-27 20:36:32 +00:00
mattias
90de7d2a9a
implemented TControl.BorderSpacing.CellAlignHorizontal/Vertical, replaced TRadioGroup recreatewnd calls with UpdateItems, changed TRadioGroup.AutoFill to true as default
...
git-svn-id: trunk@8633 -
2006-01-27 15:21:08 +00:00
mattias
4b193a4407
improved color for gtk widgets from Darek
...
git-svn-id: trunk@8625 -
2006-01-26 20:53:59 +00:00
vincents
1f51beb255
* removed CM_PARENTFONTCHANGED
...
* implemented ParentFont property (issue #1268 )
git-svn-id: trunk@8540 -
2006-01-17 12:11:04 +00:00
mattias
7f19762926
fixed storing AnchorSide.Side
...
git-svn-id: trunk@8448 -
2006-01-04 22:54:32 +00:00