[futurebasic] Re: [FB] Scroll With Up & Down Arrows

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : October 1999 : Group Archive : Group : All Groups

From: Ken Shmidheiser <kshmidheiser@...>
Date: Wed, 20 Oct 1999 08:24:02 -0400
In responding to Jim Henson's request to "Train" the up & down arrows 
to scroll a scroll btn ..., Rick Brown wrote:

>Jim--
>
>Here's a demo that does just that:

-- snip the demo --


Rick,

Thanks for this wonderfully simple demo. While I've played with 
scroll buttons in the past, this has really expanded my understanding.

Ironically, in the next post discussion on the use of GOTOs, Bryan 
Bremner wrote:

>I puzzled and puzzled over some working code for more than a week until my
>puzzler completely broke.  I just walled it off, called it a subroutine and
>used it even though I had no idea how it worked.

I confess, I have my share of "puzzler" functions up and running in 
several apps. These were clipped and pasted and work fine, but it 
would be nice to understand how they work. Sometimes, a simple 
working demo accomplishes that.

I'm posting this to the list as a reminder of the value of working 
demos vs. isolated functions, particularly for newbies. Rick took 
only 9 extra lines of code (not including 4 constants) and gave us a 
compilable app. (I added a few DIMS and ran in it in FB^3.)

I realize it's impractical to post a full fledged slice-and-dice 
mega-function working database. But surely for controls and simple 
functions, the small bandwidth overhead of simple working demos is 
well worth the benefits.

Ken