Deleting lines in a scrolling list box?
scott at cdroo.com
Tue Nov 28 04:55:30 CST 2006
> No global variables needed and only one button with one mouseUp handler:
> on mouseUp
> if the hilitedLine of fld 1 is not empty then
> delete line (the hilitedLine of fld 1) of fld 1
> end if
> end mouseUp
> (Replace "fld 1" with a reference to your field).
Absolutely excellent!! Thanks a heap. I knew it'd be so simple I'd kick
myself *again*. <g> I might actually get the hang of it soon. ;-)
More information about the use-livecode