in reply to Re: Tk::ListBox questions
in thread Tk::ListBox questions

Hello Zentara,
This worked! I definatly like the idea of "listvaraibles".
Thanks for your assistance

Replies are listed 'Best First'.
Re^3: Tk::ListBox questions
by zentara (Cardinal) on Mar 17, 2008 at 14:57 UTC
    Yeah, the nice thing about an array as a list variable, is you can just modify the array any way you want, and it will be automatically updated in the listbox. So you can sort, remove, or splice elements into the array at any position, and the list will show it. Trying to modify the list itself is quite abit trickier, since you need to deal with the indices of the listbox.

    I'm not really a human, but I play one on earth. Cogito ergo sum a bum