"unsetting" behavior

Dr. Hawkins dochawk at gmail.com
Sat Jul 27 18:10:06 EDT 2013


On Sat, Jul 27, 2013 at 1:20 PM, Phil Davis <revdev at pdslabs.net> wrote:
>
> On 7/27/13 12:48 PM, Dr. Hawkins wrote:

>> If I have set the behavior of a field to some button, and then want it
>> to go back to default behavior, is there any way to do this?  Do I
>> need a null script?
>
> set the behavior of control 1 to empty

OK, thanks.  I was afraid that that could de-behavior it entirely . . .

>> And how long does a "setting" last?  While I"m o the card? While the
>> stack is open?  While the mainstack is open?
>
> Dunno. I would assume the unsetting lasts as long as the unset copy of the
> stack is in memory.

That's my assumption, but . . . the dictionary has very little to say
about behaviro.

thanks again


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462




More information about the use-livecode mailing list