ondrej
e4a448195b
lcl: forms: UpdateScreen: read value from ScreenInfo. Issue #31037 (regression after r54453 #20a9ecf1d5)
...
see regression issues #31601 , #31598
git-svn-id: trunk@54486 -
2017-03-26 18:32:57 +00:00
juha
93da17aa07
LCL: Refactoring, combine identical code in TScreen to a function.
...
git-svn-id: trunk@54465 -
2017-03-22 17:17:21 +00:00
ondrej
98e5d53303
lcl: screen: update monitors in case invalid monitor handle is found. Issue #30336
...
git-svn-id: trunk@54449 -
2017-03-19 17:46:34 +00:00
ondrej
a6bb65beac
LCL: screen: fix HintFont getter
...
git-svn-id: trunk@54299 -
2017-02-27 19:42:42 +00:00
mattias
7af80b6b19
lcl: less with-blocks for FPC 3.1.1
...
git-svn-id: trunk@50289 -
2015-11-11 13:10:16 +00:00
paul
f182409b90
lcl: move cursors from Lazarus to FPC resources
...
git-svn-id: trunk@42961 -
2013-09-27 03:19:05 +00:00
juha
ecd140c985
Improve license headers in sources, part 2. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
...
git-svn-id: trunk@41389 -
2013-05-25 09:22:25 +00:00
mattias
87703369e3
LCL: fixed AsFirst for AddHandler of TCustomForm, TControl and TApplication
...
git-svn-id: trunk@39786 -
2013-01-06 19:10:21 +00:00
paul
77958ad8a4
cocoa: formatting, cleanup
...
git-svn-id: trunk@38877 -
2012-09-28 08:23:48 +00:00
zeljko
6962eb57b3
LCL: do not mess fsMDIForm and it's mdi children on TScreen.RestoreLastActive.
...
git-svn-id: trunk@35541 -
2012-02-21 19:32:44 +00:00
paul
68f94a04da
lcl: simplify code of TScreen.GetDesktopRect
...
git-svn-id: trunk@33405 -
2011-11-08 02:58:38 +00:00
sekelsenmat
35a781c607
Adds more TScreen properties, from patch from bug #19379 by wovan.bugger
...
git-svn-id: trunk@31339 -
2011-06-22 21:03:25 +00:00
paul
c16ebf7b70
lcl: don't always enabled/disable AppWindow and other windows more than once in TScreen.DisableWindows/TScreen.EnableWindows - disable only enabled windows and store their handle instead of their LCL class (fixes issue #0019026 )
...
git-svn-id: trunk@30277 -
2011-04-13 07:09:29 +00:00
paul
cad7df0fbd
lcl: fix MonitorFromPoint after the change in IntersectRect in fpc (issue #0017774 )
...
git-svn-id: trunk@28458 -
2010-11-24 14:42:03 +00:00
martin
7038989db5
LCL: Fix accessing Screen.Monitors without calling MonitorCount first
...
git-svn-id: trunk@28349 -
2010-11-19 17:44:02 +00:00
paul
6380ade6ac
lcl, win32: handle clDefault font color in controls
...
git-svn-id: trunk@28308 -
2010-11-18 02:50:43 +00:00
mattias
6669dc093d
LCL: fixed FindApplicationComponent to ignore designer forms
...
git-svn-id: trunk@26052 -
2010-06-12 08:40:58 +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
paul
b7e13f130d
lcl: remove unneeded SetFocusedForm argument
...
git-svn-id: trunk@25301 -
2010-05-10 14:32:45 +00:00
paul
0868cb6177
lcl: redo cm_activate, cm_deactivate for showmodal - not it works consistently on win32, qt and gtk2
...
git-svn-id: trunk@25300 -
2010-05-10 14:31:29 +00:00
paul
2648d29b7f
lcl: fix occasional typo in SetFocusedForm
...
git-svn-id: trunk@25299 -
2010-05-10 14:15:53 +00:00
paul
54cd9134f0
lcl: don't look at fsModal formstate in SetFocusedForm, use an argument for modal behavior detection for the case if other forms are opened after modal form open
...
git-svn-id: trunk@25297 -
2010-05-10 13:32:31 +00:00
paul
581c468507
lcl: send CM_ACTIVATE, CM_DEACTIVATE for modal forms
...
git-svn-id: trunk@25294 -
2010-05-10 13:21:47 +00:00
paul
a12d403ae0
lcl: don't call Activate, Deactivate for TForm on WM_ACTIVATE message - since it also means activate/deactivate on application activation/deactivation. Use Screen.FocusedForm to track form activation/deactivation. Send CM_ACTIVATE, CM_DEACTIVATE instead of direct event calling. (this is VCL compatible and fixes issue #0015054 )
...
git-svn-id: trunk@25274 -
2010-05-09 13:28:15 +00:00
mattias
c0d26772da
LCL: clean up
...
git-svn-id: trunk@25151 -
2010-05-03 09:53:00 +00:00
paul
6cbcdb2b75
win32: fix modal form showing when stay on top forms are visible (bug #0015636 )
...
git-svn-id: trunk@25138 -
2010-05-02 16:59:54 +00:00
mattias
2abe1b3ff4
LCL: added TScreen handler for form Visible changed
...
git-svn-id: trunk@25097 -
2010-05-01 13:48:24 +00:00
mattias
887c09a87d
LCL: added checks to TScreen.MoveFormToFocusFront
...
git-svn-id: trunk@24416 -
2010-04-04 23:20:55 +00:00
mattias
b45e6c73ea
LCL: TScreen.RemoveForm more clean up
...
git-svn-id: trunk@24414 -
2010-04-04 23:09:12 +00:00
mattias
3166de2bc2
LCL: TApplication: replaced TList with TFPList
...
git-svn-id: trunk@24413 -
2010-04-04 23:04:37 +00:00
paul
26d98c9a47
lcl: formatting
...
git-svn-id: trunk@23219 -
2009-12-22 02:27:48 +00:00
paul
b236cb406d
lcl: fix TScreen.RestoreLastActive (issue #0014540 )
...
git-svn-id: trunk@21859 -
2009-09-25 10:02:54 +00:00
martin
2f8fc1ed97
LCL: cleanup, unused Member
...
git-svn-id: trunk@21081 -
2009-08-02 22:37:05 +00:00
paul
705957a718
lcl: disconnect AddDataModule, RemoveDataModule from TScreen on TScreen destruction (by Joost van der Sluis, issue #0014010 )
...
git-svn-id: trunk@20669 -
2009-06-19 08:46:25 +00:00
paul
119c2796bf
lcl: use Screen.SystemFont for TCanvas.TextRect
...
git-svn-id: trunk@20285 -
2009-05-28 14:23:19 +00:00
paul
3e567f606e
lcl: fix setters for predefined Screen fonts
...
git-svn-id: trunk@20284 -
2009-05-28 14:10:50 +00:00
paul
077b9c0616
lcl: fonts:
...
- add TScreen.IconFont, TScreen.MenuFont, TScreen.SystemFont
- replace TWidgetset.InitHintFont with TWidgetset.InitStockFont
win32, wince: retrieve default font from SystemParametersInfo as described in issue #0013848
git-svn-id: trunk@20275 -
2009-05-28 09:23:07 +00:00
paul
ff9754b336
lcl: fix TScreen.MonitorFromRect
...
git-svn-id: trunk@19394 -
2009-04-13 03:00:15 +00:00
paul
4e17e34447
wince:
...
- implement monitor search functions,
- fix calling conventions from stdcall to cdecl where is needed
git-svn-id: trunk@19267 -
2009-04-07 07:30:09 +00:00
paul
99241ad28e
lcl: default implementation for monitor search functions
...
git-svn-id: trunk@19265 -
2009-04-07 06:06:23 +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
5600446d97
lcl: add TScreen.PrimaryMonitor
...
git-svn-id: trunk@19262 -
2009-04-07 02:52:51 +00:00
paul
3a19dfff75
lcl: add TMonitor class which represents single screen monitor, add TScreen.MonitorCount, TScreen.Monitors[]
...
win32, qt, gtk2: implement EnumDisplayMonitors, GetMonitorInfo
git-svn-id: trunk@19239 -
2009-04-06 08:14:58 +00:00
paul
ea305d04d4
win32: initial support for fonts with national names (issue #0013141 )
...
git-svn-id: trunk@19131 -
2009-03-27 08:15:34 +00:00
paul
a0ffd5e9a7
lcl: attempt to fix bug #0013162 (MainForm with several invisible forms restoring produces exception)
...
git-svn-id: trunk@18662 -
2009-02-13 13:22:07 +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
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
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
mattias
2996a3c332
rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
...
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
paul
d409bf4ad2
decapitalize Constructor and Destructor
...
git-svn-id: trunk@14378 -
2008-03-03 08:28:46 +00:00