Commit Graph

416 Commits

Author SHA1 Message Date
mattias
874b22249a LCL: made NewAutoSize default, added -dOldAutoSize
git-svn-id: trunk@23943 -
2010-03-11 15:49:01 +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
1cd9f4b198 LCL: newautosize: disable on destroy
git-svn-id: trunk@23897 -
2010-03-09 16:19:14 +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
paul
1f6c52fe1a lcl, win32: start implementation of TCustomForm.PopupMode, TCustomForm.PopupParent
git-svn-id: trunk@23723 -
2010-02-17 06:04:19 +00:00
mattias
61e6f32639 LCL: changing bidimode autosizes
git-svn-id: trunk@23683 -
2010-02-11 08:52:12 +00:00
mattias
e3f56b92ba LCL: changing bidimode autosizes, bug #14951
git-svn-id: trunk@23682 -
2010-02-11 08:48:17 +00:00
paul
43def91dbc lcl: implement Application OnModalBegin, OnModalEnd, ModalLevel, ModalStarted and ModalFinished based on patch of Zeljan (issue #0015616)
git-svn-id: trunk@23584 -
2010-01-29 03:08:31 +00:00
paul
c135622fe5 lcl: apply design-time alphablending on form create
git-svn-id: trunk@23569 -
2010-01-27 08:51:05 +00:00
paul
3208c507b6 lcl: add TCustomForm.AlphaBlend, TCustomForm.AlphaBlendValue, change TWsCustomForm.SetAlphaBlend
git-svn-id: trunk@23565 -
2010-01-27 07:57:16 +00:00
paul
8f7b3f6e4b lcl: formatting
git-svn-id: trunk@23310 -
2009-12-28 10:46:43 +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
ccccc6e58d lcl: remove redundant assignment of ParentBidiMode in TCustomForm.CMParentBiDiModeChanged
git-svn-id: trunk@23248 -
2009-12-24 01:23:12 +00:00
paul
2490ea320f lcl: formatting, cleanup
git-svn-id: trunk@23218 -
2009-12-22 02:18:31 +00:00
mattias
0eee01a3b4 LCL: CloseQuery: query docked forms
git-svn-id: trunk@23033 -
2009-12-08 16:00:32 +00:00
mattias
7a89ac6e1f LCL: update actionlists of nested frames, bug #15229
git-svn-id: trunk@22895 -
2009-12-01 12:56:19 +00:00
paul
ffaf004a69 lcl: set default parameter for TCustomForm.CreateNew as it is delphi compatible and Marco van de Voort requested
git-svn-id: trunk@22720 -
2009-11-23 13:13:30 +00:00
paul
6d32896b7f lcl: improve TCustomForm.CMBidiModeChanged
git-svn-id: trunk@22036 -
2009-10-05 03:45:07 +00:00
paul
194d1c80e3 lcl: BidiMode:
- notify forms when Application.BidiMode changed
  - use application bidi mode when form get parent bidi mode change notification
  - fix TControl.CMParentBidiModeChanged

git-svn-id: trunk@22022 -
2009-10-04 13:10:48 +00:00
paul
5b02eb7f37 lcl: fix TCustomForm.CanFocus return
git-svn-id: trunk@21856 -
2009-09-25 09:28:02 +00:00
paul
48e060d9f7 lcl: MainMenu refactoring and other menu changes:
- AttachMenuToWindow api changed. Now it accepts a window handle and a menu handle instead of TMenu component. This change is made to reduce interfaces dependency from the LCL (in order to reduce exe file size)
  - TMainMenu.WindowHandle is introduced for delphi compatibility
  - Don't show a main menu for the bsDialog windows (delphi compatibility)
  - Explicitly request MainMenu to notify form about destruction

git-svn-id: trunk@21844 -
2009-09-24 09:14:53 +00:00
paul
105e4d8032 lcl: formatting
git-svn-id: trunk@21710 -
2009-09-15 08:58:57 +00:00
mattias
fc13925a0a LCL: newautosize fixed TControl.Adjustsize
git-svn-id: trunk@21672 -
2009-09-12 20:28:05 +00:00
paul
0dafbae6a4 lcl: better protect Form.AutoScroll from change when BorderStyle does not allow this
git-svn-id: trunk@21479 -
2009-08-29 03:50:50 +00:00
paul
56c45690de lcl: make AutoScroll delphi compatible:
- set AutoScroll to False by default for TForm and TFrame. Leave it True for TScrollBox
  - allow AutoScroll change for forms with bsSizeable, bsSizeToolWin BorderStyle

git-svn-id: trunk@21478 -
2009-08-29 03:03:10 +00:00
paul
92fc448dae lcl: formatting
git-svn-id: trunk@21465 -
2009-08-27 16:30:28 +00:00
sekelsenmat
839f502c1d Updates LCL Capability constants
git-svn-id: trunk@21284 -
2009-08-18 15:47:26 +00:00
mattias
d4eeeafe50 LCL: added flag EnableAsyncDeactivate for possible workaround for too early/many deactivate events
git-svn-id: trunk@21188 -
2009-08-12 11:38:37 +00:00
mattias
236c316138 LCL: calendarpopup: missing semicolon
git-svn-id: trunk@21187 -
2009-08-12 11:33:53 +00:00
paul
b5026985e2 lcl: TCustomForm - handle CM_RELEASE message for compatibility with VCL applications
git-svn-id: trunk@20711 -
2009-06-22 08:46:31 +00:00
marc
216a9ab9a2 * Fixed bitmap and icon transparency (ussue #13883)
git-svn-id: trunk@20334 -
2009-06-01 17:58:36 +00:00
paul
3f5dc06930 lcl: implement TMenuItem.GlyphShowMode, TApplication.ShowMenuGlyphs, TApplicationProperties.ShowMenuGlyphs
git-svn-id: trunk@20192 -
2009-05-25 08:38:20 +00:00
paul
1687773f6d lcl: TCustomForm.SetFocusedControl returned wrong result in some cases, csFocusing flag was used in LCL but was not nowhere set
git-svn-id: trunk@20077 -
2009-05-20 12:07:24 +00:00
paul
869fadf0a6 lcl: formatting
git-svn-id: trunk@20074 -
2009-05-20 09:28:40 +00:00
paul
e30c0905a2 lcl: allow form dragging by client area only if it is docked into docksite without dock manager
git-svn-id: trunk@20070 -
2009-05-20 07:30:39 +00:00
paul
ae839602c2 lcl: formatting
git-svn-id: trunk@19937 -
2009-05-12 05:59:22 +00:00
paul
0f86b2e7f3 lcl: move some form initialization code from TCustomForm.Create to TCustomForm.CreateNew
git-svn-id: trunk@19933 -
2009-05-12 02:31:08 +00:00
paul
ce343a5f24 lcl: fix crashes when using buttonpanel on form (default conrol has not notified form about destruction)
git-svn-id: trunk@19577 -
2009-04-23 02:35:18 +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
101eedbc8f lcl: add TCustomForm.DefaultMonitor and appropriate implementation, publish this property it in TForm
git-svn-id: trunk@19278 -
2009-04-08 06:27:26 +00:00
paul
ab5b649d39 lcl: TCustomForm
- EnsureVisible - use work area instead of full monitor bounds,
  - MakeFullyVisible - use full width, height instead of half to check position, add UseWorkArea argument

git-svn-id: trunk@19272 -
2009-04-07 09:22:12 +00:00
paul
31974b5e84 lcl: TCustomForm
- add MakeFullyVisible, 
  - reimplement EnsureVisible
  - rearrange public methods

git-svn-id: trunk@19269 -
2009-04-07 08:47:24 +00:00
paul
752897afdc lcl: further monitor support
- add TScreen.MonitorFromPoint, TScreen.MonitorFromRect, TScreen.MonitorFromWindow
  - add TForm.Monitor
win32: add support for new TScreen methods

git-svn-id: trunk@19264 -
2009-04-07 05:29:35 +00:00
paul
ffe4e89cf0 lcl: improve exceptions handling (fixes issue #0013394)
- fix Application.HandleException usage - Sender must be an object where exception occurred, not an exception itself
  - catch exceptions in more places
  - add HandleCreateException for delphi compatibility and HandleDestroyException, HandleShowHideException for similarity

git-svn-id: trunk@19097 -
2009-03-25 10:01:24 +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
2612bc98ea lcl: destroy mainmenu as others components in order (fixes issue #0013305)
git-svn-id: trunk@18956 -
2009-03-11 09:54:54 +00:00
paul
fbfc224459 lcl: Color property storing (fixes bug #0012322)
- change default ColorIsStored method. It was written probably to override old fpc streaming bug. Now it only checks for ParentColor property. If control want to skip some color storing then simple Default value need to be filled.
- remove TButtonControl.ColorIsStored, TStatusBar.ColorIsStored. Default value for color property do this job
- introduce new function IsColorDefault(AControl: TControl): Boolean; which checks both ParentColor and default color value
- gtk: use IsColorDefault instead of IsColorStored

git-svn-id: trunk@18744 -
2009-02-18 08:40:13 +00:00
paul
51748725d7 lcl: disable/enable forms just before show/hide of the modal form to prevent focus jumping
git-svn-id: trunk@18646 -
2009-02-12 13:25:58 +00:00
paul
53a4ae0a3e win32: remove few workarounds regards window focus and application z-order
lcl: remove code which focused control on every window show. it caused errors with z-order of forms after minimize-restore (issue #0012635)
lcl: restore last active control/form on application restore

git-svn-id: trunk@18645 -
2009-02-12 10:21:33 +00:00
paul
366e21d328 lcl: add lcModalWindow flag to the TLCLCapatibility enum. Windows has this flag set to 0 and other widgetsets which supports native modal forms to 1 (todo: make wince modal handling the same as on win32)
git-svn-id: trunk@18630 -
2009-02-10 15:06:14 +00:00
paul
1d777bebeb lcl: introduce TScreen.DisableForms, TScreen.EnableForms,
lcl: Disabling/Enabling forms before/after showing of modal form
win32: remove win32 specific methods of disabling/enabling windows. Use new TScreen methods instead
win32: disable/enable forms before/after showing some system dialog (fixes bug #0012366, bug #0012382)

git-svn-id: trunk@18629 -
2009-02-10 14:38:01 +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
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
mattias
204d1aa9b5 LCL: not focusing THintWindow on show
git-svn-id: trunk@18474 -
2009-01-28 15:39:55 +00:00
paul
cf4f433100 lcl:
- skip forms which does not share application taskbar item from TApplication.UpdateVisible (bug #0013042)
- don't perform any visual actions when we change ShowInTaskBar property in the design time

git-svn-id: trunk@18445 -
2009-01-26 03:41:21 +00:00
paul
f7dce3c301 win32: correct some debugLn
git-svn-id: trunk@18407 -
2009-01-24 11:48:29 +00:00
paul
fefaf6be1a lcl: implement TApplication.UpdateVisible, add TWidgetset.AppSetVisible (defined only for win32 at moment) (mantis #0010544)
git-svn-id: trunk@18403 -
2009-01-24 10:07:36 +00:00
paul
10692856c7 lcl: call TScreen events after changing active form and active control (mantis #0013009)
git-svn-id: trunk@18367 -
2009-01-21 02:02:37 +00:00
paul
92a3c282c1 lcl: formatting
git-svn-id: trunk@18283 -
2009-01-14 04:33:24 +00:00
paul
342531bc74 lcl: misc formatting
git-svn-id: trunk@18096 -
2009-01-04 09:32:21 +00:00
paul
9dc2198062 lcl, win32: fix form.icon handling (#0012395)
git-svn-id: trunk@17077 -
2008-10-21 03:38:09 +00:00
paul
3de03aa7ba lcl, win32: fix icon for dialog forms (#0012395)
git-svn-id: trunk@17031 -
2008-10-17 08:58:52 +00:00
paul
06924525ea lcl, widgetsets: reimplement form, application icon setting to allow set 2 icons: small and big (#0012401)
git-svn-id: trunk@17015 -
2008-10-16 03:23:40 +00:00
tombo
e365c98cca LCL: renamed TWidgetSet.LCLCapabilities to GetLCLCapabilities
- added new capabilities

git-svn-id: trunk@16849 -
2008-10-02 12:51:37 +00:00
paul
07f06787ff lcl: allow setting Size for TIcon, TCursorImage, TicnsIcon before loading or before changing Current property. fixes #0011983
git-svn-id: trunk@16279 -
2008-08-28 00:54:58 +00:00
mattias
3af4740453 LCL: TNotebook: fixed updating FShowing on switching PageIndex by user, fixes invisible controls at designtime
git-svn-id: trunk@15937 -
2008-08-03 19:55:42 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
paul
4619b1b098 lcl: on changing Form.Icon or Application.Icon set its current to best index for application
git-svn-id: trunk@15616 -
2008-06-30 03:15:43 +00:00
paul
ad0c55e479 lcl:
- create, destroy TIcon.Handle when needed
- repair TCustomForm.SetIcon, TApplication.SetIcon

git-svn-id: trunk@15503 -
2008-06-21 14:23:02 +00:00
paul
ce329d855d lcl: add TWidgetset.AppSetIcon
win32, qt, carbon: implement AppSetIcon

git-svn-id: trunk@15497 -
2008-06-21 12:23:31 +00:00
mattias
2ebd2ec660 LCL: clean up, fixed EnsureVisible to not force BringToFront
git-svn-id: trunk@15400 -
2008-06-13 08:14:05 +00:00
sekelsenmat
eb8998e206 Fixes crash in modal dialogs in Windows CE
git-svn-id: trunk@15367 -
2008-06-09 01:51:47 +00:00
paul
1fe620b00a lcl: add TCustomForm.GetFormImage from Gerard Visent (issue #0011292 with modifications)
git-svn-id: trunk@15127 -
2008-05-14 06:43:38 +00:00
paul
2c757eff9a lcl: make TToolButton TGraphicControl instead of TCustomControl. This is: a) delphi compatible b) eats less system resources
git-svn-id: trunk@15091 -
2008-05-11 06:57:49 +00:00
vincents
0c78a3c622 LCL: improved TCustomForm.DoExecuteAction, do not execute actions in design mode or if form is not visible
git-svn-id: trunk@14866 -
2008-04-17 13:14:54 +00:00
vincents
8c7962a98b LCL: simplified TCustomForm.DoExecuteAction
git-svn-id: trunk@14864 -
2008-04-17 12:50:56 +00:00
paul
41b8115a94 TCustomForm.SetActiveControl: simplify condition, don't write same things in debugln twice, formatting
git-svn-id: trunk@14508 -
2008-03-13 10:06:41 +00:00
paul
2f24df146a formatting, misc
git-svn-id: trunk@14442 -
2008-03-06 06:44:33 +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
mattias
3e7f7a99cc LCL: added hidden published property TForm.LCLVersion, bug #10069
git-svn-id: trunk@14270 -
2008-02-27 11:15:16 +00:00
vincents
70d6aa87d4 LCL: don't free the mainform explicitly with Release, it will be freed by its owner, the Appliction (bug #10789)
git-svn-id: trunk@14135 -
2008-02-14 15:46:00 +00:00
paul
d675489e25 lcl: mainform close logic. Application will be terminated only if MainForm CloseAction = caFree. MainForm default CloseAction now is caFree
git-svn-id: trunk@13781 -
2008-01-17 02:23:18 +00:00
paul
6974762fd6 - formatting, cosmetic changes and cleanup
git-svn-id: trunk@13774 -
2008-01-16 04:05:34 +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
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
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
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
mattias
53e8d6533f IDE: fixed searching owner of virtual files
git-svn-id: trunk@13168 -
2007-12-05 19:27:09 +00:00
mattias
80036090c5 LCL: setting default ActiveControl in CreateWnd, improved checks if a control can be focused by using CanFocus, improved debugging focus, using the same algo for all default focus controls
git-svn-id: trunk@13143 -
2007-12-04 12:30:15 +00:00
mattias
50ebba2ee8 LCL: TCustomForm.SetFocusedControl fixed COntrol=nil
git-svn-id: trunk@13132 -
2007-12-03 22:36:48 +00:00
mattias
d01719fc58 LCL: TCustomForm: not calling LCLIntf.SetFocus if Parent<>nil, choosing a default for ActiveControl in TCustomForm.WndProc
git-svn-id: trunk@13131 -
2007-12-03 21:30:32 +00:00
mattias
03acdb2c29 LCL: updating ActiveControl for nested forms
git-svn-id: trunk@13130 -
2007-12-03 21:00:36 +00:00
mattias
9303990fc7 LCL: undid, because ActiveControl does not work anymore: TCustomForm.WndProc LM_ACTIVATE, LM_SETFOCUS, LM_KILLFOCUS now call inherited
git-svn-id: trunk@13128 -
2007-12-03 19:12:59 +00:00
mattias
328bf736f2 LCL: TCustomForm.WndProc LM_ACTIVATE, LM_SETFOCUS, LM_KILLFOCUS now call inherited
git-svn-id: trunk@13127 -
2007-12-03 18:52:16 +00:00
mattias
5141dd53bc LCL: fixed TLabel to override CalculatePreferredSize instead of DoAutoSize
git-svn-id: trunk@12925 -
2007-11-19 20:00:42 +00:00
mattias
dbf55b433f IDE: started code help hint window
git-svn-id: trunk@12766 -
2007-11-07 17:00:51 +00:00
tombo
620ffeb1e7 LCL: make TCustomForm.Show Delphi compatible -> bring form to front and activate it
git-svn-id: trunk@12760 -
2007-11-06 10:15:01 +00:00