bart
1031a1b63d
TCustomForm: save Sreen.Cursor before ShowModal and restore it afterwards.
...
Resolves issue #0023374 .
git-svn-id: trunk@43448 -
2013-11-17 14:32:01 +00:00
paul
0286c2485a
lcl:
...
- call resizing without checking for the state change
- don't all resizing when the change does not come from the interface
git-svn-id: trunk@42106 -
2013-07-16 09:19:07 +00:00
paul
b467bd8f6f
lcl: formatting
...
git-svn-id: trunk@42101 -
2013-07-16 07:24:16 +00:00
paul
ccc3d51ef0
lcl: introduce TCustomForm.Resize for compatibility with VCL, move window state change logic there
...
git-svn-id: trunk@42100 -
2013-07-16 07:14:06 +00:00
paul
4910e314df
lcl: fix position of poDesktopCenter forms when desktop Left,Top <> (0,0)
...
git-svn-id: trunk@42098 -
2013-07-16 03:38:31 +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
juha
665538169c
LCL: Support Destroy event in TFormPropertyStorage class. Issue #22204 , patch from Cyrax
...
git-svn-id: trunk@40911 -
2013-04-28 17:55:08 +00:00
jesus
abc18517a2
LCL, gtk, fix LazReport designer sometimes presented as a thin vertical or horizontal band that runs from center of screen under gtk2/64-bit, related to issue #21634
...
git-svn-id: trunk@40562 -
2013-03-16 19:29:54 +00:00
mattias
55574e2a90
LCL: TCustomForm.MoveToDefaultPosition: use MonitorFromRect instead of center
...
git-svn-id: trunk@39874 -
2013-01-17 13:10:54 +00:00
mattias
d1e9068de2
LCL: do not move maximized form due to Form.Position
...
git-svn-id: trunk@39873 -
2013-01-17 11:33:34 +00:00
mattias
472a8172e5
LCL: simplified TCustomForm.MoveToDefaultPosition
...
git-svn-id: trunk@39872 -
2013-01-17 11:28:57 +00:00
mattias
3e1efc3341
LCL: fixed TCustomForm.MoveToDefaultPosition finding the monitor from form pos
...
git-svn-id: trunk@39871 -
2013-01-17 11:22:16 +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
blikblum
8035a82e6f
lcl: check for csDestroying in Parent before calling SetLastFocusedControl in TCustomForm.SetFocusedControl. Not doing this check can expose fpc bug #23031 leading to a crash.
...
git-svn-id: trunk@38927 -
2012-09-30 23:18:13 +00:00
zeljko
67b639d8cf
LCL: cleanup
...
git-svn-id: trunk@38479 -
2012-09-02 09:37:41 +00:00
sekelsenmat
2a973ceb54
Fixes bug #22718 . Fixes ShowModal for WinCE
...
git-svn-id: trunk@38449 -
2012-08-31 09:30:25 +00:00
mattias
3bfe2eecf6
lcl: TCustomForm.UpdateDockCaption: fixed repair garbage
...
git-svn-id: trunk@37461 -
2012-05-30 08:01:43 +00:00
zeljko
3e61b1bbc5
LCL: fixed ShowModal() when Hide() is called on modal form to be Delphi compatibile.issue #15390
...
git-svn-id: trunk@36902 -
2012-04-19 06:09:14 +00:00
mattias
080f4f8c22
LCL: fixed sending CM_EXIT,CM_ENTER when flastfocusedcontrol was removed
...
git-svn-id: trunk@36884 -
2012-04-17 17:15:34 +00:00
paul
b00855a592
lcl: don't update Default, Cancel during UpdateDefaultCancel (issue #0021739 )
...
git-svn-id: trunk@36811 -
2012-04-16 07:11:48 +00:00
paul
a34725fc50
lcl: clear FActiveDefaultControl on that control destruction (based on patch of David Jenkins, issue #0021735 )
...
git-svn-id: trunk@36806 -
2012-04-16 05:38:16 +00:00
jesus
de59e7b8b4
LCL, combination of modal form + wsMaximized style produces tiny windows on GTK2, issue #21634
...
git-svn-id: trunk@36716 -
2012-04-10 20:45:52 +00:00
paul
d6e2a77af5
lcl:
...
- replace old SIZENORMAL, SIZEICONINC, ... constants with SIZE_RESTORED, SIZE_MINIMIZED
- add new SIZE_FULLSCREEN constant to support wsFullScreen state
git-svn-id: trunk@36432 -
2012-03-30 01:05:10 +00:00
mattias
47c24e80ad
LCL: more verbose form updateshowing
...
git-svn-id: trunk@36385 -
2012-03-27 16:27:45 +00:00
zeljko
ff6253e4ac
LCL: make accurate size if we change WindowState to wsMaximized or wsFullScreen in OnCreate event
...
git-svn-id: trunk@36107 -
2012-03-17 11:01:35 +00:00
zeljko
3068129128
LCL: added SM_LCLMAXIMIZEDWIDTH and SM_LCLMAXIMIZEDHEIGHT to system metrics rules to get accurate size of maximized window until we fix difference between forms frame rect and client rect. issue #21119
...
git-svn-id: trunk@36106 -
2012-03-17 10:46:34 +00:00
paul
b2e6bf87e6
lcl: restore focused form after enabling them in show modal, also do this after hiding the modal form
...
git-svn-id: trunk@35961 -
2012-03-14 01:45:13 +00:00
paul
57bbaca812
win32: call Application.IntfActivate, IntfDeactivate asynchronously from win32 interface code (fixes issue #0018494 )
...
git-svn-id: trunk@35549 -
2012-02-22 01:35:41 +00:00
paul
015c34551e
lcl: perform symmetric calls of TCustomForm.SetActive on LM_ACTIVATE messages (before it was SetActive(True) under one condition and SetActive(False) without them)
...
git-svn-id: trunk@35548 -
2012-02-22 01:10:32 +00:00
zeljko
8a4650a76e
LCL: better DebugLn when modal form is hidden programatically by calling Hide
...
git-svn-id: trunk@35534 -
2012-02-21 12:28:36 +00:00
zeljko
f3e517d1e2
LCL: make TCustomForm.Hide delphi compatibile, also allow hiding of modal form.issue #15390
...
git-svn-id: trunk@35533 -
2012-02-21 12:26:22 +00:00
zeljko
218a877daf
LCL: removed DestroyHandle; from TCustomForm.ShowModal, it's not Delphi compatibile and it makes problems if we want to read wincontrol properties from ws after ShowModal and before Free.
...
git-svn-id: trunk@35525 -
2012-02-21 09:26:28 +00:00
paul
82e9d3f4ce
lcl: remove LM_DEACTIVATE message. In windows and in Delphi both activation and deactivation are handled by WM_ACTIVATE message. Better to do this merge in LCL before 1.0 to prevent later problems
...
git-svn-id: trunk@35518 -
2012-02-21 06:59:12 +00:00
sekelsenmat
5f9824929d
Changes a little bit the Accessibility API. Removes notifications which were added to reflect the Mac API and are redundant. Splitted the setters for accessibility fields.
...
git-svn-id: trunk@34820 -
2012-01-20 12:59:10 +00:00
sekelsenmat
88b94d106a
Improves the accessibility support in LCL-Carbon. Starts implementing support for more accessibility support and starts adding accessibility roles for TCustomForm
...
git-svn-id: trunk@34695 -
2012-01-10 17:33:43 +00:00
sekelsenmat
cbe7d6ff5f
Compilation fix and starts TApplication.MoveFormFocusToChildren
...
git-svn-id: trunk@34365 -
2011-12-22 16:58:18 +00:00
sekelsenmat
cc0e04b161
Finishes the basic implementation of dpi and screen rotation adjustment for Android. Not 100% perfect, but in general already functional.
...
git-svn-id: trunk@34279 -
2011-12-19 13:51:13 +00:00
zeljko
b211b79b0b
LCL: fixed restoring/showing of minimized+hidden form. issue #20670
...
git-svn-id: trunk@34004 -
2011-12-06 18:18:40 +00:00
juha
9b08f69b27
LCL: removed useless property setter
...
git-svn-id: trunk@33524 -
2011-11-14 09:33:15 +00:00
zeljko
4628bd06d0
LCL: started MDI support. Added needed routines and properties.
...
git-svn-id: trunk@33323 -
2011-11-05 08:17:56 +00:00
mattias
4cf2d1358f
LCL: improved RaiseShowModalImpossible
...
git-svn-id: trunk@33168 -
2011-10-30 11:07:53 +00:00
mattias
2cd66811f0
LCL: delay autosizing when form is minimized
...
git-svn-id: trunk@33145 -
2011-10-29 07:28:02 +00:00
juha
1c66c1c865
LCL: Fix form's scrollbars that disappeared after resize. Issue #19677 , patch from August Klein
...
git-svn-id: trunk@33073 -
2011-10-24 19:33:14 +00:00
sekelsenmat
17bfc6f175
Implements the most basic fullscreen support, for gtk2 only at the moment
...
git-svn-id: trunk@31470 -
2011-06-30 08:58:09 +00:00
paul
c20cf07caf
lcl: formatting
...
git-svn-id: trunk@30287 -
2011-04-14 01:03:20 +00:00
paul
a84af3e7a0
lcl: change active control when a child form is focused too
...
git-svn-id: trunk@30057 -
2011-03-29 03:20:19 +00:00
paul
6ae245e8c8
lcl: skip call of SetActive to a child form
...
git-svn-id: trunk@30051 -
2011-03-28 08:51:26 +00:00
paul
2bd0c336c8
lcl: formatting
...
git-svn-id: trunk@30045 -
2011-03-28 07:10:57 +00:00
juha
8901a0b14d
LCL: make sure Application is assigned in UpdateShowInTaskBar. Part of issue #18934 .
...
git-svn-id: trunk@29892 -
2011-03-17 14:35:06 +00:00
juha
35d67957cf
LCL: Check if Application <> nil in TCustomForm.WMActivate. Fixes issue #18934
...
git-svn-id: trunk@29888 -
2011-03-17 12:22:18 +00:00