Commit Graph

706 Commits

Author SHA1 Message Date
paul
2b9bef5afa lcl: move TWSControl.DragStart to TWSCustomListBox.DragStart because of limitation of TWS classes
git-svn-id: trunk@42631 -
2013-09-06 07:29:10 +00:00
paul
2743011353 lcl: fix ListBox onChange call on win32 (mantis #0020324)
- notify TWS class about drag start
  - set csLButtonDown before BeginAutoDrag (there is no dependency in LCL for csLButtonDown in BeginAutoDrag so I see no reason to postpone it)
win32:
  - send TWM_LButtonUp to windows for ListBox if drag operation is started by mouse down

git-svn-id: trunk@42627 -
2013-09-06 04:58:06 +00:00
mattias
533ea4f496 LCL: getmousecapture: check if handleallocated
git-svn-id: trunk@42305 -
2013-08-04 09:52:54 +00:00
mattias
c9f04de233 LCL: formatting
git-svn-id: trunk@41865 -
2013-06-24 12:07:15 +00:00
paul
e241c9693d lcl: fix LM_XBUTON... message handlers. They should check high word parameter to get button value instead of checking shift state (issue #0020883)
git-svn-id: trunk@41684 -
2013-06-12 09:02:54 +00:00
mattias
4a1f602815 LCL: TControl.Click: do not call OnClick if Action.OnExecute=OnClick, call Action.Execute always on click, fixed TCustomCheckBox LM_CHANGED action trigger
git-svn-id: trunk@41682 -
2013-06-11 22:29:23 +00:00
mattias
9a518d7730 LCL: setting Action.OnExecute no longer changes the TMenuItem.OnClick
git-svn-id: trunk@41416 -
2013-05-26 12:47:37 +00:00
mattias
66a30a311c LCL: setting Action.OnExecute no longer changes the TControl.OnClick, bug #24484
git-svn-id: trunk@41415 -
2013-05-26 12:36:40 +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
juha
e8653f265e LCL: Map quadclicks to doubleclicks for controls that do not accept quadclicks. Issue #23298, patch from cobines
git-svn-id: trunk@39300 -
2012-11-18 12:39:17 +00:00
blikblum
40f8498835 lcl:
- revert 33020 #928292514b, 33082 #dd109fba91, 33086 #bd7b46c17a, part of 33089 and 33389. These changes made the hint behavior Delphi incompatible thus leading to a regression in third party control like VirtualTreeView that handles hints in CMHintShow
- Retrieve parent hint recursively if hintcontrol.hint is empty' (delphi compatible)
- Added sample project to test hints

git-svn-id: trunk@38802 -
2012-09-23 23:06:31 +00:00
mattias
89834f3c95 lcl: debugging
git-svn-id: trunk@38002 -
2012-07-22 12:33:17 +00:00
mattias
c0eaae3966 LCL: GetClientRect: if interface has the right width,height trust the clientrect
git-svn-id: trunk@37624 -
2012-06-11 18:57:09 +00:00
mattias
dbb1361088 LCL: clean up - invalidate in TControl.DoBorderSpacingChange no longer needed with new autosizing
git-svn-id: trunk@37621 -
2012-06-11 17:42:05 +00:00
mattias
8c83bf4662 LCL: invalidate parent preferredsize when borderspacing changed, bug #17947
git-svn-id: trunk@37620 -
2012-06-11 17:41:04 +00:00
paul
136bb2bf67 lcl: cleanup debug info
git-svn-id: trunk@37370 -
2012-05-21 06:46:06 +00:00
paul
6dc8b8cf94 lcl: don't crash when either DragTarget or dragged control is freed (issue #22067)
git-svn-id: trunk@37369 -
2012-05-21 03:50:06 +00:00
sekelsenmat
f0f5beb5cf Fixes a bug in the code to iterate accessible objects, it didnt work, now it does
git-svn-id: trunk@37159 -
2012-05-05 09:58:28 +00:00
paul
f8dcbb669b lcl: don't block special keys in common TControl handler - this is up to descendants.
SynEdit: use shorter inherited call since TControl does not have the handler now

git-svn-id: trunk@37150 -
2012-05-04 00:55:22 +00:00
mattias
a28add96c2 LCL: constraint Width,Height to >=0
git-svn-id: trunk@36885 -
2012-04-17 18:41:50 +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
mattias
3a53d3f869 LCL: TControl.SetAnchors: during disabled autosize: update basebounds when changing Anchors, bug #21730
git-svn-id: trunk@36882 -
2012-04-17 08:59:52 +00:00
mattias
e5ffde0bbc LCL: clean up
git-svn-id: trunk@36877 -
2012-04-17 08:29:01 +00:00
mattias
eb05b8141f LCL: SetAlign: restore the basebounds set before changes
git-svn-id: trunk@36870 -
2012-04-17 08:15:46 +00:00
mattias
b20150d99c LCL: SetAnchors: do not update basebounds
git-svn-id: trunk@36859 -
2012-04-17 07:48:37 +00:00
mattias
706f472758 LCL: TControl.UpdateBaseBounds: set cfBaseBoundsValid
git-svn-id: trunk@36857 -
2012-04-17 07:45:34 +00:00
paul
c11192b6a5 lcl: implement ClientToParent, ParentToClient based on patch of David Jenkins (issue #0021763)
git-svn-id: trunk@36775 -
2012-04-14 14:18:08 +00:00
blikblum
6c1a7ae794 lcl: check for csDestroyingHandle in TControl.HandleObjectShouldBeVisible. Fix issue #19882
git-svn-id: trunk@36758 -
2012-04-14 00:39:13 +00:00
juha
82a928737a LCL: add an assertion for assigned method pointer in TControl.GetText
git-svn-id: trunk@36398 -
2012-03-28 17:06:32 +00:00
mattias
47c24e80ad LCL: more verbose form updateshowing
git-svn-id: trunk@36385 -
2012-03-27 16:27:45 +00:00
sekelsenmat
83a68ea2d7 LCL-CustomDrawn-Cocoa: Greatly improves the accessibility, now child objects start to appear
git-svn-id: trunk@36213 -
2012-03-22 08:46:04 +00:00
sekelsenmat
c0143743b4 Changes the AccessibleValue getter to overridable, to allow a more efficient implementation of it for TLabel for example
git-svn-id: trunk@36135 -
2012-03-17 19:41:46 +00:00
sekelsenmat
0bc23ed6ad LCL-CustomDrawn-Cocoa: Advances the accessibility support, nothing working yet
git-svn-id: trunk@36105 -
2012-03-17 10:08:21 +00:00
zeljko
a6873c2d3b LCL: cleanup
git-svn-id: trunk@36093 -
2012-03-16 15:35:19 +00:00
paul
fb7f52ecb8 lcl: don't skip action update when we set the same action to a control
git-svn-id: trunk@35916 -
2012-03-13 07:08:20 +00:00
paul
cc3adb8d44 lcl: set missing csReadingState flag when Control executes a ReadState
git-svn-id: trunk@35915 -
2012-03-13 06:15:47 +00:00
zeljko
c19754b22d Gtk2, Qt: InvalidateRect() should offset by scrollbars position, so it's compatibile with win32. issue #21364
git-svn-id: trunk@35881 -
2012-03-11 12:34:35 +00:00
juha
d7dc003371 Revert the r35872 #c293be9ecf. It solved the windows problem but created another redraw problem with GTK2.
git-svn-id: trunk@35873 -
2012-03-10 16:01:25 +00:00
juha
c293be9ecf LCL: Fix painting icons wrong on component palette. Issue #21364, Patch from Tomasz Wieckowski
git-svn-id: trunk@35872 -
2012-03-10 15:32:55 +00:00
mattias
c52851dbfa LCL: debugging
git-svn-id: trunk@35820 -
2012-03-08 11:47:53 +00:00
zeljko
a63be4b26e LCL: cleanup
git-svn-id: trunk@35561 -
2012-02-23 13:08:31 +00:00
mattias
3d1a570a3c IDE: project inspector: delay update when not visible
git-svn-id: trunk@35546 -
2012-02-21 20:20:55 +00:00
sekelsenmat
ec0df9a7e4 Adds the possibility to disable accessibility for TCustomTreeView
git-svn-id: trunk@35508 -
2012-02-20 13:40:24 +00:00
mattias
f1f99b4a6e LCL: added TLazAccessibleObject enumerator
git-svn-id: trunk@35394 -
2012-02-16 09:17:30 +00:00
mattias
c6dfe9276c LCL: fixed TCustomListViewEditor.Create override and TLazAccessibleObject.RemoveChildAccessibleObject if object is not in tree
git-svn-id: trunk@35376 -
2012-02-15 15:26:07 +00:00
mattias
45d0b49083 LCL: TLazAccessibleObject: using a tree for children for faster search
git-svn-id: trunk@35374 -
2012-02-15 14:57:15 +00:00
sekelsenmat
015279a045 Adds more method for TLazAccessibleObject to manipulate the list of children
git-svn-id: trunk@35239 -
2012-02-08 17:58:06 +00:00
mattias
aad4d125c5 LCL: added TControl.AddHandlerBeforeDestruction
git-svn-id: trunk@35090 -
2012-02-02 16:46:20 +00:00
sekelsenmat
1fb90cb1f1 Improves the accessibility code to allow for initializing the Handle later. Also attempts to fix the accesssibility issues of TEdit/TMemo, but still not successful
git-svn-id: trunk@35070 -
2012-02-01 07:25:28 +00:00