Simplify List Manager Pas.Txt
Simplify List Manager Pas.Txt
| Filename | simplify-list-manager-pas.txt |
|---|---|
| Size | 10.6 KB (10860 bytes) |
| Downloads | 3 |
Enjoying MacTrove?
Anonymous downloads are free and unlimited.
Create a free account to track favorites,
contribute metadata corrections, and join the
community chat.
About
The 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.
File Info
This file is part of the MacTrove archive. See the Thank You page for the upstream mirrors we rely on. You may need The Unarchiver or a classic Mac emulator to open it.
Related apps