Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Jun Tangunan
  Where is Jun Tangunan?
 Cabanatuan
 Philippines
 Jun Tangunan
 To: Dan Baker
  Where is Dan Baker?
 Effort of the Poconos
 Pennsylvania - United States
 Dan Baker
 Tags
Subject: RE: Demo: Vertical Scroll Container for Data
Thread ID: 395577 Message ID: 395667 # Views: 120 # Ratings: 0
Version: Visual FoxPro 9 Category: Classes and Objects
Date: Thursday, January 16, 2014 11:36:17 PM         
   


> Foxites,
>
> This pure VFP class uses a Listbox to replicate the number of data items
> in a container you want to scroll. It's designed to handle single line
> records from a table.
>
> Download the form: _dragon_scroll.zip 1.3 MB.
>
>
>
> It performs fairly well, though you cannot see the data items move in
> real-time as you scroll.   Once you release the scroll, the new position snaps
> into place.
>
> On occasion you may experience a one or two second delay.   If you need
> better performance you can add a Timer to update the position of the scrolling
> container faster, say, every tenth of a second.   Seems to help.
>
> The method is simple.   The listbox and data items are
> synchronized by the sequence  of data entered in the table and a new
> TopIndex triggers the widget.
>
> The items in the Listbox are masked at runtime so all you see is the
> vertical scroll.
>
> Some care is needed in selecting the vertical spacing of data.   To be
> able to scroll to all your data to the very bottom, the vertical spacing in
> the Listbox should be equal or greater than that of your data container.
>
> Control the Listbox spacing by changing the font size.
>
> I tested this today only.   Let me know what bugs you experience.
>
> Dan Baker
>




A question Dan if I may. Why not instead of using the dragon scroll, use the listbox straight?




https://vfpx.codeplex.com/releases/view/99045
http://sandstorm36.blogspot.com

ENTIRE THREAD

Demo: Vertical Scroll Container for Data Posted by Dan Baker @ 1/15/2014 11:48:58 PM
RE: Demo: Vertical Scroll Container for Data Posted by Jun Tangunan @ 1/16/2014 11:36:17 PM
RE: Demo: Vertical Scroll Container for Data Posted by Dan Baker @ 1/17/2014 3:18:30 AM
RE: Demo: Vertical Scroll Container for Data Posted by Dan Baker @ 1/17/2014 3:18:25 AM
RE: Demo: Vertical Scroll Container for Data Posted by tom knauf @ 1/21/2014 4:54:57 PM
RE: Demo: Vertical Scroll Container for Data Posted by Dan Baker @ 1/22/2014 4:02:15 AM
RE: Demo: Vertical Scroll Container for Data Posted by tom knauf @ 1/22/2014 10:53:16 AM
RE: Demo: Vertical Scroll Container for Data Posted by Dan Baker @ 1/22/2014 2:18:55 PM
RE: Demo: Vertical Scroll Container for Data Posted by Cetin Basoz @ 1/22/2014 1:20:17 PM
RE: Demo: Vertical Scroll Container for Data Posted by Dan Baker @ 1/22/2014 2:20:01 PM
RE: Demo: Vertical Scroll Container for Data Posted by Aldrin Austria @ 1/24/2014 9:44:37 PM
RE: Demo: Vertical Scroll Container for Data Posted by Dan Baker @ 1/25/2014 2:07:55 AM
RE: Demo: Vertical Scroll Container for Data Posted by Dan Baker @ 1/23/2014 3:09:09 PM