custom properties vs. RR IDE properties
Klaus Major
klaus at major-k.de
Sun May 14 16:04:31 EDT 2006
Hi Ton,
> mmmm...
>
> and I thought I had it all figured out...
>
> Is there a way to use SETPROP to interact on setting properties
> like hiding a window?
>
> I tried setting 2 properties :
try this:
> ON mouseUp
> put empty into fld "Status1"
> put empty into fld "Status2"
set the cMYvisible of stack "HideThis" to true
> set the pTest of stack "HideThis" to "Here I Am"
> END mouseUp
>
> The stack "HideThis" contains the following scripts:
SETPROP cMYvisible newValue
put newValue into fld "Status1"
set the visible of this stack to newValue
> END visible
>
> SETPROP pTest newValue
> put newValue into fld "Status2"
> END pTest
should work :-)
Best
Klaus Major
klaus at major-k.de
http://www.major-k.de
More information about the use-livecode
mailing list