Commit Graph

554 Commits

Author SHA1 Message Date
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