Re: [lazarus] Patch for TScrollBox-Bug(s)

2007-08-07 Thread Mattias Gaertner
On Sun, 05 Aug 2007 10:44:19 +0200 Andreas Maier <[EMAIL PROTECTED]> wrote: > hy-soft schrieb: > > Andreas Maier wrote: > >> Why do i get no answer? > > Maybe you should repost the question. > > > > > > Here is a patch for two bugs of the TScrollBox. With this patch: Under gtk an empty form gets

Re: [lazarus] Patch for TScrollBox-Bug(s)

2007-08-05 Thread Andreas Maier
hy-soft schrieb: Andreas Maier wrote: Why do i get no answer? Maybe you should repost the question. Here is a patch for two bugs of the TScrollBox. 1) If AutoScroll is set to False and a Range is assigned. The Position increases after the ScrollBar reaches the end. This bug is also desci

Re: [lazarus] Patch for TScrollBox-Bug(s)

2007-08-04 Thread hy-soft
Andreas Maier wrote: Why do i get no answer? Maybe you should repost the question. -- -hy ___ | | hy-soft data-engineering | |mail: [EMAIL PROTECTED] |--- ___

Re: [lazarus] Patch for TScrollBox-Bug(s)

2007-08-04 Thread Andreas Maier
Why do i get no answer? _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

[lazarus] Patch for TScrollBox-Bug(s)

2007-07-29 Thread Andreas Maier
Ups, i forgot to include a litte change in forms.pp. Here is a second patch. (its only needed if VerboseScrollingWinControl is defined.) Index: forms.pp === --- forms.pp(revision 11660) +++ forms.pp(working copy) @@ -127,6 +12

[lazarus] Patch for TScrollBox-Bug(s)

2007-07-27 Thread Andreas Maier
Hello, this is my first patch. I hope i have made it in the correct way. This patch fixes two bugs of the TScrollBox. 1) If AutoScroll is set to False and a Range is assigned. The Position increases after the ScrollBar reaches the end. This bug is also descirbed in Bug # 0001986. 2) The Pos

Re: [lazarus] [patch] for tscrollBox

2006-04-23 Thread Mattias Gaertner
On Tue, 18 Apr 2006 21:26:13 +0200 darekm <[EMAIL PROTECTED]> wrote: > Mattias Gaertner wrote: > > >On Sat, 15 Apr 2006 21:44:52 +0200 > >darekm <[EMAIL PROTECTED]> wrote: > > > > > > > >>Hi > >> attached patch repair > >> calculation of visibility scrollbar > >> Clicked on tButton now wor

Re: [lazarus] [patch] for tscrollBox

2006-04-18 Thread darekm
Mattias Gaertner wrote: On Sat, 15 Apr 2006 21:44:52 +0200 darekm <[EMAIL PROTECTED]> wrote: Hi attached patch repair calculation of visibility scrollbar Clicked on tButton now work for scrolled window all under GTK+ Note: DisableAlign/EnableAlign needs try..finally, otherwise

Re: [lazarus] [patch] for tscrollBox

2006-04-15 Thread Mattias Gaertner
On Sat, 15 Apr 2006 21:44:52 +0200 darekm <[EMAIL PROTECTED]> wrote: > Hi > attached patch repair >calculation of visibility scrollbar >Clicked on tButton now work for scrolled window > > all under GTK+ Note: DisableAlign/EnableAlign needs try..finally, otherwise you can run into very

Re: [lazarus] [patch] for tscrollBox

2006-04-15 Thread Micha Nelissen
On Sat, 15 Apr 2006 21:44:52 +0200 darekm <[EMAIL PROTECTED]> wrote: GetCursorPos(P); - Result := FindControlAtPosition(P, True); + if (P.X=FLastMousePos.x) and (P.Y=FLastMousePos.Y) then Result:=FLastMouseControl + elseResult := FindControlAtPosition(P, True); + if (Result <> nil)

[lazarus] [patch] for tscrollBox

2006-04-15 Thread darekm
Hi attached patch repair calculation of visibility scrollbar Clicked on tButton now work for scrolled window all under GTK+ Darek Index: forms.pp === --- forms.pp(wersja 9125) +++ forms.pp(kopia robocza) @@ -915,6 +9