|
||||||
| Home Software Hardware Docs Magazines Forums Search | ||||||
Simplify List Manager Pas.Txt
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute corrections, and join the community chat. AboutThe following code, once again, is nothing particularly glamorous; it simply makes it easier to use the List Manager to create and manage lists of strings. One of the most common uses for the List Manager is scrollable, one-dimensional, fixed-size lists of strings (as in SFGetFile, SFPutFile). The List Manager is good for creating all kinds of lists (such as lists of icons), but a lot of this functionality is a hassle for programmers who only need a simple list of strings. The code below allows you create and dispose of lists of strings. It allows you to add, rename, and remove elements in the list, and handles mouse clicks and update events. It also keeps the lists in alphabetical order. I remember having a lot of trouble learning how to call the List Manager properly; I hope that this code helps somebody else. |
||||||
|
MacTrove — Classic Macintosh Archive —
Full site |
Software |
Search
Classic version — compatible with older browsers. |