Handler behaving oddly

Ian McKnight iangmcknight at googlemail.com
Wed Jul 19 05:13:38 EDT 2006


On 19/07/06, Mark Smith <mark at maseurope.net> wrote:
> Does the handler that calls checkSize put something into fld
> "Display" when checkSize returns? If so, despite the 'exit to top',
> the calling handler maybe putting the value returned from checkSize
> (ie. empty) into the field. You could put a "wait 1 second" before
> the "exit to top", and see if that's what's happening.
>
> If it is, you could just return "error" from checkSize and let the
> calling handler deal with it.
>
> Best,
>
> Mark
>


Hi Mark & Mark S

Thats exactly what was happening. The calling statement was actually
putting the returned value into the same field. So you were correct,
the function was returning empty and wiping the field.

Thak you both for your quick response.

Best wishes

Ian



More information about the use-livecode mailing list