Problem with Scrolling List Field

Ken Ray kray at sonsothunder.com
Tue Aug 23 15:30:31 EDT 2005


On 8/23/05 2:15 PM, "David Burgun" <dburgun at dsl.pipex.com> wrote:

> But when I run this, the first time I selected a line it *sometimes*
> works but then it doesn't work from then on, e.g. it doesn't delete
> the line, but the message box contains line and field number as
> expected. If I manually type "delete line 1 of field 1" in the
> message box, the line gets deleted as expected.
> 
> What am I doing wrong???

Well, you could try:

  do "delete" && the selectedLine

The possibility might be one of focus - if the button has its traversalOn
property set to true, turn it off - it may be grabbing the focus from the
field.

That's my 2 cents,

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com





More information about the use-livecode mailing list