Thread View: comp.windows.interviews
2 messages
2 total messages
Started by Yalamanchi Prasad
Fri, 08 Jan 1993 14:42
Scrolling
Author: Yalamanchi Prasad
Date: Fri, 08 Jan 1993 14:42
Date: Fri, 08 Jan 1993 14:42
13 lines
796 bytes
796 bytes
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. Appreciate your help. Thanks/ prasady@hou.amoco.com
Re: Scrolling
Author: Bill Poitras
Date: Sat, 09 Jan 1993 02:10
Date: Sat, 09 Jan 1993 02:10
21 lines
1720 bytes
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 | +-----------------+-------------------------------+-------------------------+
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads