Deleting lines in a scrolling list box?

Scott Kane scott at cdroo.com
Tue Nov 28 04:55:30 CST 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,

Scott 




More information about the use-livecode mailing list