Commit Graph

890 Commits

Author SHA1 Message Date
ondrej
e2b280b59a LCL: cleanup
git-svn-id: trunk@50354 -
2015-11-17 09:56:35 +00:00
ondrej
ef3ba7e84e LCL: fixed alignment code when anchors are only in one direction.
git-svn-id: trunk@50329 -
2015-11-14 05:19:54 +00:00
zeljko
cf3d8e35ba LCL: do not call DoCallKeyEventHandler() inside TWinControl.KeyDown() if Key = 0, since it might be that our control is
destroyed inside OnKeyDown event. Fixes regression of issue #28537

git-svn-id: trunk@49839 -
2015-09-16 11:47:02 +00:00
juha
a10ce8b8ac LCL: Revert the remaining part of r49534 #091dff42fb.
git-svn-id: trunk@49794 -
2015-09-09 08:25:02 +00:00
juha
fdde7f3583 LCL: Make TUpDown.ArrowKeys work. Issue #28537, patch from Denis Kozlov.
git-svn-id: trunk@49726 -
2015-08-29 11:59:12 +00:00
juha
f53444d668 LCL: Revert an experimental change from r49534 #091dff42fb. Caused an eternal loop in layout code.
git-svn-id: trunk@49542 -
2015-07-14 09:39:04 +00:00
juha
091dff42fb LCL: Change for WinControl alignment. r49510 from free-sparta branch by Maciej Izak.
git-svn-id: trunk@49534 -
2015-07-12 23:05:20 +00:00
juha
41ca5227fd LCL: New CanSetFocus function with whole parent tree check. Work better than CanFocus in many cases. Issue #21708, patch from Ondrej Pokorny.
git-svn-id: trunk@49526 -
2015-07-11 23:27:51 +00:00
mattias
274195b202 LCL: undo change 48723, because of bug #27837
git-svn-id: trunk@48758 -
2015-04-14 21:44:50 +00:00
mattias
2abe21355b LCL: ComputePreferredClientArea: fixed considering non movable child controls
git-svn-id: trunk@48723 -
2015-04-11 10:39:26 +00:00
mattias
b92a5feb37 LCL: fixed missing autosize, when design values are correct, widgetset returns false values during init and later sends a WMSize with the design values
git-svn-id: trunk@48575 -
2015-04-01 13:26:55 +00:00
juha
abe573b42d Initialize variables based on compiler warnings around Lazarus and libs. Contains ToDo items.
git-svn-id: trunk@48481 -
2015-03-24 17:52:23 +00:00
mattias
23f22ed784 LCL: gtk2: started fixing TGtk2WSCustomGroupBox.GetPreferredSize
git-svn-id: trunk@48432 -
2015-03-20 15:24:48 +00:00
mattias
023bd23bb0 LCL: gtk2: fixed TGtk2WidgetSet.GetClipRGN fetching default
git-svn-id: trunk@48430 -
2015-03-20 14:37:24 +00:00
mattias
673f7ce527 lcl: TWinControl: apply framewidth/height only to preferred clientarea, not to widget, bug #27538
git-svn-id: trunk@48017 -
2015-02-26 14:40:13 +00:00
mattias
74dd6d36d0 LCL: improved debugging wrong preferred sizes
git-svn-id: trunk@47912 -
2015-02-20 11:23:05 +00:00
mattias
094fd462f5 LCL: TScrollingWincontrol: GetLogicalClientRect: independent of AutoScroll to avoid cycle, GetPreferredSize: independent of AutoScroll, added extra checks if LCL clientrect is not in sync with widgetset, improved debugging preferredsize
git-svn-id: trunk@47873 -
2015-02-17 23:58:41 +00:00
mattias
9dde3160c2 lcl: TWinControl.InsertControl fixed position in Controls, widgetsets do not support that yet, issue #25405
git-svn-id: trunk@47375 -
2015-01-13 18:30:34 +00:00
mattias
e563b55f2c LCL: comments
git-svn-id: trunk@46993 -
2014-11-26 10:22:33 +00:00
mattias
959a877e86 LCL: fixed calling recursively ShowControl on TControl.Show
git-svn-id: trunk@46551 -
2014-10-14 07:39:30 +00:00
mattias
8653b579e2 LCL: fixed typo
git-svn-id: trunk@46549 -
2014-10-14 07:32:24 +00:00
juha
b22fda3202 LCL: Fix child control anchors in ChangeScale. Issue #21738, patch from David Jenkins.
git-svn-id: trunk@46532 -
2014-10-11 22:58:53 +00:00
mattias
dd86099d37 LCL: comments
git-svn-id: trunk@46474 -
2014-10-07 23:55:26 +00:00
mattias
9d3226d369 LCL: removed TControl.ParentVisibleChanged
git-svn-id: trunk@46188 -
2014-09-11 16:52:52 +00:00
mattias
db564054c4 LCL: added TControl.ParentVisibleChanged
git-svn-id: trunk@46184 -
2014-09-11 16:40:12 +00:00
mattias
cc8a8f9740 LCL: clean up
git-svn-id: trunk@46181 -
2014-09-11 16:03:48 +00:00
juha
90b05dca85 LCL: Remove deprecated TWinControl.AutoSizeCanStart.
git-svn-id: trunk@45788 -
2014-07-05 14:56:46 +00:00
mattias
debddcec44 LCL: gtk2: dropfiles for sub forms
git-svn-id: trunk@45559 -
2014-06-16 22:24:44 +00:00
mattias
a7895ead33 LCL: do not clear last adjusted clientrect
git-svn-id: trunk@45057 -
2014-05-17 14:53:58 +00:00
mattias
fe40c7c022 LCL: debugging ifdefs
git-svn-id: trunk@45054 -
2014-05-17 12:05:42 +00:00
mattias
2f637d4295 LCL: fixed typo GetChildsRect GetChildrenRect
git-svn-id: trunk@44663 -
2014-04-09 15:12:36 +00:00
juha
41f1295739 LCL: GetParentHandle and GetTopParentHandle for TWinControl. Issue #25813, patch from ocean.
git-svn-id: trunk@44453 -
2014-03-16 23:26:56 +00:00
mattias
084093d91e LCL: TWinControl.ChildSizing with controlstyle csAutoSize0x0, bug #24986
git-svn-id: trunk@42702 -
2013-09-09 13:19:50 +00:00
mattias
533ea4f496 LCL: getmousecapture: check if handleallocated
git-svn-id: trunk@42305 -
2013-08-04 09:52:54 +00:00
mattias
5f1bb4c689 LCL: comment
git-svn-id: trunk@42085 -
2013-07-14 06:37:06 +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
zeljko
28b4ed797c LCL: reduce calls of PopupMenu property getter. issue #23336
git-svn-id: trunk@39973 -
2013-01-27 08:06:15 +00:00
zeljko
0d3fac65e3 LCL: added capfHasScrollOffset into ControlAtPos in WMContextMenu so offset is ok when control is inside scrolled control. issue #23584
git-svn-id: trunk@39922 -
2013-01-20 18:11:52 +00:00
zeljko
906b5868a0 LCL: do not use cached FPopupMenu pointer but property getter. issue #23336
git-svn-id: trunk@39887 -
2013-01-19 08:19:29 +00:00
sekelsenmat
e155bfca39 Reimplements the cdintf control special case as a LCLIntf function, to be more conformant to the way of working for the LCL
git-svn-id: trunk@39475 -
2012-12-07 15:55:54 +00:00
sekelsenmat
547ebc6bc7 LCL-CustomDrawn: Adds a better identifier for CD injected controls and starts improving the tabbing between controls
git-svn-id: trunk@39447 -
2012-12-06 10:50:53 +00:00
zeljko
fe7467988d LCL: hide DebuLn() from docking by using VerboseDocking define.
git-svn-id: trunk@38843 -
2012-09-26 10:23:40 +00:00
mattias
60899d17a7 LCL: added TWinControl.GetEnumeratorControls,GetEnumeratorControlsReverse
git-svn-id: trunk@38570 -
2012-09-08 09:00:50 +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
paul
70fca72696 lcl: always ask control about special key using CM_WANTSPECIALKEY and LM_GETDLGCODE, simplify DoCancelKey, DoReturnKey, remove old WantKeyBeforeInterface
git-svn-id: trunk@37142 -
2012-05-03 01:38:51 +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
47c24e80ad LCL: more verbose form updateshowing
git-svn-id: trunk@36385 -
2012-03-27 16:27:45 +00:00
paul
d46180aa2f lcl: move condition to top to reduce amount of executed code
git-svn-id: trunk@36185 -
2012-03-21 02:53:00 +00:00
juha
9adcf1b232 LCL: Register some new Delphi properties to be skipped by form loader. Issue #20273
git-svn-id: trunk@34800 -
2012-01-19 18:26:48 +00:00
sekelsenmat
b3a3ec2fb9 Rearchitectures LazAccessibility_SetFields in order to support TControl
git-svn-id: trunk@34688 -
2012-01-09 18:05:00 +00:00