How to get rid of a front script
Ruediger Wilhelm
wilhelm.forchheim at freenet.de
Wed Nov 13 13:31:41 EST 2013
Scott,
the problem is, the button to remove the script from does not exist any
more.
"put the frontScripts" shows a List of paths:
button id 1117 of group id 1016 of card id 1002 of stack "C:/Program
Files/RunRev/LiveCode 6.1.2/Toolset/revlibrary.rev"
button id 1116 of group id 1016 of card id 1002 of stack "C:/Program
Files/RunRev/LiveCode 6.1.2/Toolset/revlibrary.rev"
button id 1042 of card id 1002 of stack "C:/Program Files/RunRev/LiveCode
6.1.2/Toolset/revlibrary.rev"
stack "C:/Program Files/RunRev/LiveCode 6.1.2/Toolset/revdebugger.rev"
What could I do with it?
Ruedger
-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf
Of Scott Rossi
Sent: Mittwoch, 13. November 2013 18:59
To: How to use LiveCode
Subject: Re: How to get rid of a front script
I believe you want something like "put the frontScripts" which will list all
frontScripts in the message box.
Also, to remove a frontScript, you use:
remove script of button "xyz" from front
Regards,
Scott Rossi
Creative Director
Tactile Media, UX Design
On Nov 13, 2013, at 9:46 AM, "Ruediger Wilhelm"
<wilhelm.forchheim at freenet.de> wrote:
> This again is the beginner's hope for help.
>
> For test purposes I created my first front script.
>
> I put the following script Into the button "btTest":
>
> on enterKey
> answer "You came via the front script" with OK
> go to card "myCard2"
> end enterKey
>
> In a field on the same card I put the following:
>
> on returnInField
> --some code her
> set the disabled of button "btLogin" to false
> insert script of button "btTest" into front
> focus on button "btLogin"
> end returnInField
>
> Later I learned about the property "default" of buttons,
> which does what I tried to reach with the above front script.
> So I deleted the button "btTest" and the insert script ... in
> the field. But this did not destroy the function of the
> front script.
> I closed and removed the stack from memory;
> I restarted LiveCode (6.1.2 commercial);
> I restarted the PC (Windows Vista).
>
> Is there a way to see the effective frontscripts of a stack?
>
> Thanks in advance for any hints.
>
> Ruediger
>
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list