Deleting lines in a scrolling list box?

Scott Kane scott at
Tue Nov 28 05:55:30 EST 2006

Hi Mark,

> 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
>   else
>     beep
>   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.  ;-)

Thanks again,


More information about the Use-livecode mailing list