Commit Graph

58 Commits

Author SHA1 Message Date
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
marc
a3a5cd8734 lcl: use autoscroll property to get the autoscroll value, autoscrollenabled has a different meaning. (fixes #20982)
git-svn-id: trunk@34518 -
2011-12-30 15:30:06 +00:00
marc
d30d8468dc lcl: implement Delphi compatible AutoScrollEnabled function
git-svn-id: trunk@34470 -
2011-12-28 16:57:14 +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
paul
a7e622e6ab lcl: formatting
git-svn-id: trunk@30226 -
2011-04-07 00:19:59 +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
mattias
0bdaa7ccb2 LCL: TScrollBar.IsScrollBarVisible: always use handle state
git-svn-id: trunk@29146 -
2011-01-20 19:55:08 +00:00
mattias
d79b8e282e LCL: debugging
git-svn-id: trunk@29035 -
2011-01-15 13:17:09 +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
mattias
8b96b3b1d9 LCL: fixed page in TScrollingWinControl.ComputeScrollbars
git-svn-id: trunk@26861 -
2010-07-27 16:45:51 +00:00
mattias
186d263d39 LCL: fixed uninitialized function results
git-svn-id: trunk@26860 -
2010-07-27 16:28:44 +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
d530a2cf9f LCL: TAutoSizeCtrlData.ComputePreferredClientArea: use 1 as default width/height
git-svn-id: trunk@26284 -
2010-06-24 17:34:17 +00:00
mattias
5977b88aca LCL: added controlstyles csAutoSizeKeepChildLeft, csAutoSizeKeepChildTop, TScrollBox: use preferred size even if AutoSize=false
git-svn-id: trunk@26222 -
2010-06-21 08:10:11 +00:00
mattias
cb7c832e25 LCL: TScrollingWincontrol: fixed GetLogicalClientRect - only use Range if bar is visible, use preferredsize if Parent.ChildSizing.Layout<>cclNone
git-svn-id: trunk@25574 -
2010-05-22 11:52:45 +00:00
mattias
7c4a2d5678 LCL: TControlScrollBar.AutoCalcRange: do not use preferred width/height if AutoSize=false
git-svn-id: trunk@25544 -
2010-05-20 12:16:00 +00:00
mattias
169ad15bbe LCL: TControlScrollBar.IsScrollBarVisible fixed for designtime
git-svn-id: trunk@25543 -
2010-05-20 11:57:50 +00:00
mattias
dd689541da LCL: TControlScrollBar.IsScrollBarVisible fixed for designtime
git-svn-id: trunk@25542 -
2010-05-20 11:57:00 +00:00
mattias
ecc75765fe LCL: TScrollingWinControl: use GetPreferredSize to compute ranges, CalculatePreferredSize: fixed computing mix of Layout and non Layout controls, fixed using 0x0 size of TPanel
git-svn-id: trunk@25070 -
2010-04-29 19:54:03 +00:00
paul
3f076b14b9 lcl: implement TControlScrollBar.Tracking for win32, qt and gtk2 (issue #0007981)
git-svn-id: trunk@23596 -
2010-01-29 17:32:40 +00:00
paul
3faec5e74c lcl: TControlScrollBar.Range:
- manual change of this property should set owner control AutoScroll to False
  - property should not be stored if owner control AutoScroll = True

git-svn-id: trunk@21679 -
2009-09-13 09:21:44 +00:00
paul
bbda022560 lcl: always update scroll visibility when changing other params (fixes #0014494)
git-svn-id: trunk@21568 -
2009-09-04 12:29:34 +00:00
paul
9ce421e78e lcl: various TControlScrollBar, TScollingWinControl fixes:
- fix scrollbar visibility when AutoScroll = False, scrollbars must appear if visible = True and range > page (with help of patch of Sven Barth, issue #0014279)
  - fix class definition (no need to handle writing of properties using stored modifier - fpc bug was fixed long ago)

git-svn-id: trunk@21501 -
2009-08-31 14:54:29 +00:00
paul
6af0fb9bc9 lcl: fix asterisk position in the copyright comment
git-svn-id: trunk@19477 -
2009-04-18 04:03:13 +00:00
paul
ed0bdeab5d lcl: formatting
git-svn-id: trunk@18397 -
2009-01-23 17:02:36 +00:00
paul
63f262a089 lcl: formatting
git-svn-id: trunk@18394 -
2009-01-23 10:20:08 +00:00
paul
98372de302 lcl: when we calc autoscroll range don't skip child controls which left/top side control is parent control
git-svn-id: trunk@18109 -
2009-01-04 18:24:26 +00:00
mattias
0a9b9940a9 LCL: TControlScrollBar: ignore akBottom/akRight anchored controls
git-svn-id: trunk@18101 -
2009-01-04 11:10:56 +00:00
tombo
5a1665f97c LCL TControlScrollbar.Range: range should be position limit + page size, fixes scrolling behind max
git-svn-id: trunk@17250 -
2008-11-06 14:04:24 +00:00
tombo
c5e876817b LCL:
* SetScrollInfo - return new position
* SetScrollPos - return previous position

git-svn-id: trunk@17173 -
2008-11-01 17:24:46 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
mattias
96e855ad53 LCL: TControlScrollBar: implemented hiding scrollbar, bug #11491
git-svn-id: trunk@15470 -
2008-06-19 10:41:09 +00:00
marc
65035435c1 * fixed typo in InvalidateScollInfo by Martin Smat
git-svn-id: trunk@12905 -
2007-11-17 16:56:22 +00:00
mattias
ef2d81ca2c LCL: reduced debug output
git-svn-id: trunk@12693 -
2007-11-02 10:03:36 +00:00
mattias
6157d8c8b3 LCL: TScrollBox: fixed calculating ranges - it no longer uses controls sides that depends on parents clientrect
git-svn-id: trunk@12678 -
2007-11-01 13:44:26 +00:00
paul
564ac218a6 lcl: fix issue when scrollbar can have position more than in real
win32: fix incorrectly calculated clientrect of TScrollBox
(issue #0001986)

git-svn-id: trunk@12351 -
2007-10-06 15:51:37 +00:00
paul
852f93d82f lcl: move VerboseScrollingWinControl debug condition to separate method (to simplify condition change)
git-svn-id: trunk@12328 -
2007-10-05 05:48:17 +00:00
paul
38c4cf597b change formatting of controlscrollbar.inc (since nobody from devels were against)
git-svn-id: trunk@12326 -
2007-10-05 01:42:04 +00:00
vincents
5716695861 LCL: fixed typo (bug #8748) from Tom
git-svn-id: trunk@10983 -
2007-04-22 12:52:30 +00:00
mattias
f9fcb805bb LCL: fixed updating control scrollbars, remaining bug: win32 intf moves controls when scrolling
git-svn-id: trunk@10317 -
2006-12-09 10:24:44 +00:00
mattias
9b836a28f0 moved code from TControlScrollBar to TScrollingWinControl, deriving TScrollingWinControl from TCustomControl from Flavio
git-svn-id: trunk@9952 -
2006-09-20 23:14:09 +00:00
mattias
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
mattias
560cd8d9a1 fixed appliaction lastmouse cache
git-svn-id: trunk@9169 -
2006-04-23 20:49:01 +00:00
mattias
422e644e54 reduced overhead in TWinControl.IsControlMouseMsg from Darek
git-svn-id: trunk@9164 -
2006-04-23 20:20:22 +00:00
mattias
115184dccb fixed creating child handles on Visible=false parent at designtime
git-svn-id: trunk@8094 -
2005-11-07 18:50:28 +00:00
marc
3de2242d78 * Disabled range fix until WM_MOVE messages are send for all gtklayout childs
git-svn-id: trunk@7962 -
2005-10-12 22:20:07 +00:00
marc
c943976da2 * Fixed setting layoutrange
git-svn-id: trunk@7843 -
2005-09-27 23:12:54 +00:00
marc
8925ef5f51 * Fixed bug #907
* Changed TLMScoll <-> TWMScroll, TLMScroll has extended position info

git-svn-id: trunk@7665 -
2005-09-10 16:31:04 +00:00
mattias
637b578aab increased scroll position for gtk from 15bit to 31bit from Colin Western
git-svn-id: trunk@7470 -
2005-08-01 10:11:31 +00:00