Commit Graph

535 Commits

Author SHA1 Message Date
sekelsenmat
45beb7cd01 Starts Accessibility API structure and adds a routine to detect if we are on a mobile platform
git-svn-id: trunk@34656 -
2012-01-08 10:05:55 +00:00
marc
d30d8468dc lcl: implement Delphi compatible AutoScrollEnabled function
git-svn-id: trunk@34470 -
2011-12-28 16:57:14 +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
sekelsenmat
b5a59868f9 Commits the first part of layout auto-adjustment support in the LCL
git-svn-id: trunk@34272 -
2011-12-19 10:25:13 +00:00
sekelsenmat
3c9ee8524f Adds the new Application.ExtendedKeysSupport flag and advances the implementation of keyboard support in LCL-CustomDrawn-Cocoa
git-svn-id: trunk@34219 -
2011-12-16 08:22:27 +00:00
sekelsenmat
53aba472a1 Adds a new TApplication property to control the layout auto-adjustment policy. This property will allow converting the LCL fixed layouting effectively into a stretchable grid layout
git-svn-id: trunk@34185 -
2011-12-14 17:12:03 +00:00
sekelsenmat
9c38c40343 Reworks the assyncronous modal dialogs interface and adds it to the TCustomForm too. Reimplements the Android support for modal dialogs to support 1 Java implementation for both MessageBox and PromptUser. Implements LCLIntf.PromptUser for Android
git-svn-id: trunk@34127 -
2011-12-12 07:30:55 +00:00
sekelsenmat
6646781795 Starts the support in the LCL for assyncronous modal dialogs, implements MessageBox in LCL-CustomDrawn-Android and updates the Android example to test this API
git-svn-id: trunk@34117 -
2011-12-11 20:31:09 +00:00
juha
9b08f69b27 LCL: removed useless property setter
git-svn-id: trunk@33524 -
2011-11-14 09:33:15 +00:00
mattias
6a2c34aac9 LCL: removed TControlScrollBar.SetSize
git-svn-id: trunk@33479 -
2011-11-11 13:35:55 +00:00
mattias
79eb166c4f LCL: removed TControlScrollBar.SetAutoScroll
git-svn-id: trunk@33478 -
2011-11-11 13:32:45 +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
2cd66811f0 LCL: delay autosizing when form is minimized
git-svn-id: trunk@33145 -
2011-10-29 07:28:02 +00:00
jesus
671e8b233d LCL, published BiDiMode and ParentBiDiMode for some components, tested by Avishai, issue #19990
git-svn-id: trunk@32301 -
2011-09-12 19:12:21 +00:00
maxim
ac02acd3d9 LCL: fixed non-ASCII accelerator keys handling, bug #19223
git-svn-id: trunk@32158 -
2011-09-02 19:59:14 +00:00
juha
6b7626218c LCL: Fix integer types in 64-bit systems. Issue #19314, patch from Cyrax
git-svn-id: trunk@31998 -
2011-08-16 20:46:01 +00:00
mattias
597e60e8a7 LCL: broke unit dependency of graphics on controls
git-svn-id: trunk@31628 -
2011-07-09 23:10:27 +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
0ac2f35d4e lcl: move WN_NCHITTEST handling of THintWindow into LCL to allow overriding (issue #0019594)
git-svn-id: trunk@31468 -
2011-06-30 06:30:12 +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
mattias
44fa8c6766 LCL: made QueueAsyncCall and RemoveAsyncCalls thread safe
git-svn-id: trunk@31143 -
2011-06-09 11:00:09 +00:00
paul
5e397ae583 lcl: save/restore TControlScrollBar.Position even if AutoScroll = True (issue #0017409)
git-svn-id: trunk@30220 -
2011-04-06 11:30:56 +00:00
juha
3a816c7fd1 LCL: Formatting
git-svn-id: trunk@30189 -
2011-04-04 18:51:05 +00:00
paul
b6dfaf0b4b lcl: formatting
git-svn-id: trunk@30060 -
2011-03-29 05:25:21 +00:00
paul
0373c8de84 lcl: make ScrollBy more delphi compatible:
- invert direction of scroll
  - add TWinControl.ScrollBy to scroll inner controls
  - scroll controls in TScrollingWinControl (fixes issue #0016721)

git-svn-id: trunk@29944 -
2011-03-21 02:41:43 +00:00
paul
ffe4871a0b lcl: don't set hint window region if window handle is not allocated
git-svn-id: trunk@29645 -
2011-02-22 07:21:00 +00:00
paul
5647965f20 lcl: set hint window region on bounds change
git-svn-id: trunk@29643 -
2011-02-22 06:47:55 +00:00
mattias
247a494741 LCL: THintWindow: clean up
git-svn-id: trunk@29338 -
2011-02-02 22:05:23 +00:00
paul
ed73700099 lcl: set RequireDerivedFormResource to False by default
ide: set RequireDerivedFormResource to True for new projects

git-svn-id: trunk@29303 -
2011-02-02 01:52:52 +00:00
paul
64b5237a17 lcl: don't move csDesigning forms to non-designed positions (bug #0018623)
git-svn-id: trunk@29284 -
2011-02-01 08:08:49 +00:00
paul
dec87ef90b lcl: rename RaiseEResNotFoundInTCustomFormCreate to RequireDerivedFormResource (thanks to Marc)
git-svn-id: trunk@29271 -
2011-01-31 10:28:43 +00:00
paul
430382d436 lcl: don't raise EResNotFound in TCustomForm.Create if RaiseEResNotFoundInTCustomFormCreate = False
git-svn-id: trunk@29268 -
2011-01-31 10:16:55 +00:00
paul
2b5f589e66 lcl:
- add TApplication.MainFormHandle property, 
  - add TApplication.OnGetMainFormHandle event,
  - add TApplicationProperties.OnGetMainFormHandle event
  - add dummy TApplication.MainFormOnTaskBar property

git-svn-id: trunk@29242 -
2011-01-29 07:53:13 +00:00
mattias
42ad008292 LCL: TFormPropertyStorage: restore after create, FirstShow is too late
git-svn-id: trunk@29174 -
2011-01-23 16:22:38 +00:00
mattias
a6965afecd LCL: TControlScrollBar: Visible is not the current state, but a flag to allow the widget to become visible, for Delphi compatibility, fixed calculating Range (the widget frame was added)
git-svn-id: trunk@29031 -
2011-01-15 12:50:44 +00:00
paul
fa4ada16f4 lcl: add lcl_defines include file which can be used for common lcl defines (like UseCLDefault)
git-svn-id: trunk@28343 -
2010-11-19 10:46:12 +00:00
paul
d35e85a332 win32: restore wm_erasebkgnd default handler after clDefault experiments
lcl: more proper implementation for clDefault, add UseCLDefault define to compile with clDefault as default color for controls

git-svn-id: trunk@28140 -
2010-11-08 02:27:02 +00:00
paul
d5cb0e2fbe lcl: redo MouseEnter/MouseLeave notifications:
- move application mouse events notification from various message handlers to the WND proc of TWinControl
  - don't assume that control at mouse is the current control which has mouse events. If some control has a mouse capture set then it has the mouse messages and not the control at mouse
  - don't perform a control search in TApplication.DoBeforeMouseMessage - it already has an argument which contains the new mouse control (fixes bug #0016715)
  - fix CM_MOUSEENTER, CM_MOUSELEAVE message handlers so Parent controls will always get CM_ notification before the event handler and inspite of who is the message owner

git-svn-id: trunk@27770 -
2010-10-20 08:02:22 +00:00
paul
520d367826 lcl, win32: fix showing of windows which needs to be shown on taskbar (bug #0017561)
git-svn-id: trunk@27714 -
2010-10-15 06:45:36 +00:00
mattias
081cb87fe6 LCL: removed TApplication.FFormList, bug #17570
git-svn-id: trunk@27602 -
2010-10-07 11:14:01 +00:00
paul
66c72d1b3e lcl: add TApplication.ActivateHint method for delphi compatibility
git-svn-id: trunk@27014 -
2010-08-05 02:17:37 +00:00
mattias
a412c2ec18 LCL: clean up
git-svn-id: trunk@26876 -
2010-07-28 17:04:01 +00:00
mattias
4719ce7c31 IDE; project inspector: reset menu item
git-svn-id: trunk@26875 -
2010-07-28 17:03:41 +00:00
paul
1e68ee32f3 lcl: register some VCL compatibility properties to skip them during lfm reading (issue #0016660)
git-svn-id: trunk@26834 -
2010-07-26 06:12:24 +00:00
paul
35a4f8ad05 lcl, win32: better support for wm_help command. pass context and keyword to DoOnHelp in a compatible to delphi way (issue #0015065)
git-svn-id: trunk@26744 -
2010-07-20 08:43:36 +00:00
mattias
42463c684d LCL: TControlScrollBar: fixed considering clientwidth/height and scrollbars visible, bug #16799
git-svn-id: trunk@26567 -
2010-07-10 07:57:06 +00:00
mattias
0170b10fea LCL: comments
git-svn-id: trunk@26487 -
2010-07-06 14:08:51 +00:00
mattias
a09d8339a6 LCL: Application.ReleaseComponent: try to keep the order, bug #16859
git-svn-id: trunk@26484 -
2010-07-06 13:34:42 +00:00
mattias
ee8a253eab TForm.AutoSize: using Monitor.WorkAreaRect as maximum for AutoSize when akRight,akBottom are set
git-svn-id: trunk@26278 -
2010-06-24 09:41:28 +00:00