Re: [Harbour] Some corrections regarding scrollbar

2008-05-11 Thread Edmer
There is one more thing by the way. In CalcThumbPos() method the ::ThumPos var is somewhat not positioned properly using the test prg that I posted previously so I changed the computation of ::ThumbPos to the following: ::ThumbPos := round((::nCurrent / nTotal) * nBarLength, 0) Some you please c

[Harbour] Some corrections regarding scrollbar

2008-05-11 Thread Edmer
Hi Przemek & Viktor, Some point regarding scrollbar: 1. I need to comment out the reference to ::lOverride in ThumbPos() method as any subsequent reference to CalcThumbPos() method would not update ::ThumPos var because the moment you invoke ThumbPos() method you would normally set ::lOverride t