🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #1644

Re: Scrolling

#1644
From: Bill Poitras
Date: Sat, 09 Jan 1993 02:10
21 lines
1720 bytes
Yalamanchi Prasad (zpvy0a@hou.amoco.com) wrote:
: Can some kind one explain how to implement a scrolling list of
: strings.  Its confusing to me between various ..Scrollers, ScrollBars
: (from IV-2_6) and Adjusters, Observers Observables (from 3.1).  Or may
: be even point me to the right example code if there is one already in 
: IV-3.1 source.

Look in src/lib/InterViews/fchooser.c.  Check out the implementation of
FileChooserImpl::load().  I used this implementation in something I did
and it works great.  To save you a little time, you should just use a
FileBrowser as the string selector.  The FileBrowser class is a little
misnamed, it should really be called a StringBrowser.  But since the only
place in IV3.1 where the FileBrowser class is used is the FileChooser,
there is little argument.

--
+-----------------+-------------------------------+-------------------------+
| Bill Poitras    | Molecular Simulations Inc.    | Tel (408)522-9229       |
| (bill)          | Sunnyvale, CA USA             |                         | 
|                 | FAX (408)732-0831             | bill@west.msi.com       |
+-----------------+-------------------------------+-------------------------+
Technical Details
Message-ID: <1993Jan9.021015.9918@msi.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!spool.mu.edu!sgiblab!west.msi!snoopy!bill
References: <1993Jan8.144204.28502@hou.amoco.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!spool.mu.edu!sgiblab!west.msi!snoopy!bill
From: bill@snoopy (Bill Poitras)
Subject: Re: Scrolling
Message-ID: <1993Jan9.021015.9918@msi.com>
Sender: usenet@msi.com (USENET)
Reply-To: bill@west.msi.com
Organization: Molecular Simulations, Inc.
X-Newsreader: Tin 1.1 PL5
References: <1993Jan8.144204.28502@hou.amoco.com>
Date: Sat, 9 Jan 1993 02:10:15 GMT
Lines: 22