Thread View: comp.lang.objective-c
3 messages
3 total messages
Started by David A Cheslow
Wed, 19 Sep 1990 21:09
scrolling list
Author: David A Cheslow
Date: Wed, 19 Sep 1990 21:09
Date: Wed, 19 Sep 1990 21:09
1 lines
634 bytes
634 bytes
i have need for a scroll view which contains a simple list of strings, such that i can add a string to the end of the list and have the scrolling view automatically updated..... i would appreciate any hints before i reinvent a wheeel.u
Re: scrolling list
Author: Lee Sailer
Date: Thu, 20 Sep 1990 15:44
Date: Thu, 20 Sep 1990 15:44
14 lines
973 bytes
973 bytes
In article <8381@helios.TAMU.EDU>, dcheslow@xerxes.tamu.edu (David A Cheslow)
says:
>i have need for a scroll view which contains a simple list of strings, such t
>tha
>i can add a string to the end of the list and have the scrolling view
>automatically updated..... i would appreciate any hints before i reinvent a
>wheeel.u
Ah! The big test. Will someone provide a software IC to solve this
problem, that can be plugged into the application and used without ado?
Or will he end up reinventing the wheel? Stay tuned...
8-) 8-) 8-)
Re: scrolling list
Author: William Lewis
Date: Thu, 20 Sep 1990 21:15
Date: Thu, 20 Sep 1990 21:15
33 lines
2138 bytes
2138 bytes
In article <90263.114405UH2@psuvm.psu.edu> UH2@psuvm.psu.edu (Lee Sailer) writes: >In article <8381@helios.TAMU.EDU>, dcheslow@xerxes.tamu.edu (David A Cheslow) >says: >>i have need for a scroll view which contains a simple list of strings, such >>that i can add a string to the end of the list and have the scrolling view >>automatically updated..... i would appreciate any hints before i reinvent a >>wheeel. > >Ah! The big test. Will someone provide a software IC to solve this >problem, that can be plugged into the application and used without ado? >Or will he end up reinventing the wheel? Stay tuned... Actually, come to think of it, this should be do-able without actually writing much code ... assuming you're on a NeXT =8) ... you can create a ScrollView, set its docview to a matrix of textcells, and there you go. You'd have to create a new textcell each time you wanted to add a string but that shouldn't be too difficult. The problem with this is it's sometimes unclear what messages you need to send to update the display. I'm not near a NeXT so I can't say offhand. Or, you could use the "BrowserBay" and "BrowserMatrix" classes that have been on the NeXT archives for a while (in fact, they're about the only things in the classes/ directories). These look more like the Directory Browser, and are meant to act like it, but you can probably tell the cells not to allow themselves to be selected ... And if you're *not* on a NeXT, maybe someone who is has benefitted from this use of bandwidth... (Notice I wrote this entire article with only reused code!) -- wiml@milton.acs.washington.edu Seattle, Washington | No sig under (William Lewis) | 47 41' 15" N 122 42' 58" W |||||||| construction
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