ondrej
f3d729dee2
lcl: controlscrollbar: set scroll message result as handled if position changed.
...
git-svn-id: trunk@52426 -
2016-06-02 16:28:55 +00:00
ondrej
eecbb6f2ed
lcl: fix wrong scrollbar height calculation
...
git-svn-id: trunk@51460 -
2016-01-30 19:31:46 +00:00
ondrej
b62ac13515
LCL: fixed r50991 #b61461e71a: infinite loop and crash with TScrollingWinControl. issue #29194 .
...
Tested and works with Win32 and Gtk2.
Qt has a related (different) bug when detecting the scroll area for invisible window - it has to be fixed separately.
git-svn-id: trunk@50994 -
2015-12-22 21:38:51 +00:00
zeljko
b61461e71a
LCL: fixed infinite loop and crash with TScrollingWinControl. issue #29194
...
git-svn-id: trunk@50991 -
2015-12-22 12:36:20 +00:00
ondrej
8fae307e89
LCL: fixed regression in scrolling from r50523 #6bb18f6fbd
...
git-svn-id: trunk@50557 -
2015-12-02 07:49:34 +00:00
juha
6bb18f6fbd
LCL: Implement TCustomMemo.ScrollBy. Refactor widgetset ScrollBy from ScrollingWinControl to WinControl. Solves issue #29067 .
...
git-svn-id: trunk@50523 -
2015-11-29 18:45:53 +00:00
juha
8c4e943410
LCL: Isolate setting the control's position from TControlScrollBar.SetPosition. A half-baked attempt to fix #29067 .
...
git-svn-id: trunk@50479 -
2015-11-23 14:15:37 +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
df78add6dd
lcl: TControlScrollBar: fixed range check
...
git-svn-id: trunk@45536 -
2014-06-15 14:39:02 +00:00
mattias
34d8e6b1fb
LCL: TControlScrollBar.ClientSizeWith(out)Bar: include space between bar and client area
...
git-svn-id: trunk@45098 -
2014-05-20 08:48:08 +00:00
mattias
41f2997365
LCL: TControlScrollBar.ClientSizeWithBar: return >=0
...
git-svn-id: trunk@45095 -
2014-05-19 15:56:34 +00:00
mattias
d641fda803
IDE: debug for component palette, carbon needs implementation of ShowScrollInfo
...
git-svn-id: trunk@45094 -
2014-05-19 13:55:18 +00:00
mattias
6a4c629aec
LCL: TControlScrollBar.ClientSizeWithoutBar: removed workaround for gtk2
...
git-svn-id: trunk@45083 -
2014-05-18 17:03:13 +00:00
mattias
59516fe2c8
LCL: fixed TScrollingWinControl.AutoScroll endless loop when one scrollbars needs to be shown because of the other
...
git-svn-id: trunk@45082 -
2014-05-18 17:01:29 +00:00
mattias
92eb98b5b6
LCL: fixed TControlScrollBar.InternalSetRange avoiding negative values, bug #25693
...
git-svn-id: trunk@43951 -
2014-02-08 10:49:10 +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
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