Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Scrollbars and LineStep (Real Studio network user group Mailinglist archive)

Back to the thread list
Previous thread: Why is moving to a new mac so hard?
Next thread: Windows Registry and Exception handling


Using services   -   Jan Erik Moström <
  Scrollbars and LineStep   -   Seth Willits
   Re: Scrollbars and LineStep   -   Jonathan Johnson
   Re: Scrollbars and LineStep   -   Seth Willits
   Re: Scrollbars and LineStep   -   Jonathan Johnson

Scrollbars and LineStep
Date: 28.02.04 23:11 (Sat, 28 Feb 2004 14:11:06 -0800)
From: Seth Willits
Why don't LiveScrolling scrollbars obey the LineStep property? My
linestep is 8, but the scrollbar clearly updates with value changes
less than 8.


Seth Willits
------------------------------------------------------------------------
---
President and Head Developer of Freak Software - http://www.freaksw.com
REALbasic Guru at ResExcellence - http://www.resexcellence.com/realbasic
Webmaster for REALbasic Game Central - http://www.freaksw.com/rbgames

A one-question geek test. If you get the joke, you're a geek:
Seen on a California license plate on a VW Beetle: "FEATURE"
-- Definitely A Geek
------------------------------------------------------------------------
---

- - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: Scrollbars and LineStep
Date: 28.02.04 23:37 (Sat, 28 Feb 2004 16:37:29 -0600)
From: Jonathan Johnson

On Feb 28, 2004, at 4:11 PM, Seth Willits wrote:

> Why don't LiveScrolling scrollbars obey the LineStep property? My
> linestep is 8, but the scrollbar clearly updates with value changes
> less than 8.

My understanding is that LineStep is what a single click on either of
the arrows will increment/decrement by. It is still possible to drag
the bar to whatever value you want.

-Jon

Re: Scrollbars and LineStep
Date: 29.02.04 00:34 (Sat, 28 Feb 2004 15:34:30 -0800)
From: Seth Willits
On Feb 28, 2004, at 2:37 PM, Jonathan Johnson wrote:

> My understanding is that LineStep is what a single click on either of
> the arrows will increment/decrement by. It is still possible to drag
> the bar to whatever value you want.

:\ Yeah, that makes sense. I don't know why I thought that dragging it
incremented by LineStep. Well, I guess I have another subclass to
write.


Seth Willits
------------------------------------------------------------------------
---
President and Head Developer of Freak Software - http://www.freaksw.com
REALbasic Guru at ResExcellence - http://www.resexcellence.com/realbasic
Webmaster for REALbasic Game Central - http://www.freaksw.com/rbgames

"Knowledge is limited. Imagination encircles the world."
-- Albert Einstein
------------------------------------------------------------------------
---

- - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: Scrollbars and LineStep
Date: 29.02.04 01:57 (Sat, 28 Feb 2004 18:57:36 -0600)
From: Jonathan Johnson

On Feb 28, 2004, at 5:34 PM, Seth Willits wrote:

> On Feb 28, 2004, at 2:37 PM, Jonathan Johnson wrote:
>
>> My understanding is that LineStep is what a single click on either of
>> the arrows will increment/decrement by. It is still possible to drag
>> the bar to whatever value you want.
>
> :\ Yeah, that makes sense. I don't know why I thought that dragging it
> incremented by LineStep. Well, I guess I have another subclass to
> write.

Heh... I just make the value represent an "index", which I then
multiply by what my "lineStep" would be.

For example, I just finished writing something that should only be
viewed at 13 pixel jumps. Instead of setting the maximum to whatever
the real height is, I set it to ceil(realHeight/13). Then I re-multiply
it by 13 when I want to use the value.

But then again, maybe a subclass would be a good thing -- or maybe a
feature request would be as well ;)

-Jon