Hi Dave,

1. Put your initialization into an openStack handler, not a preOpenStack handler to make it working. 2. A function is supposed to return a result: a handler might be more appropriate here ;-)

on Initialize
  set the customKeys of me to empty -- of this stack
end Initialize

on openStack
  Initialize
  pass openStack
end openStack

Best Regards from Paris,

Eric Chatonet.

Le 1 nov. 05 à 16:22, David Burgun a écrit :

Hi,

I have the following in a Stack Script:

function Initialize
set the customKeys of me to empty
end Initialize


on preOpenStack
get Initialize()
pass preOpenStack
end preOpenStack

I save and close the stack and then reopen it. The preOpenCard handler runs but when I look at the custom properties of the stack in the property inspector, they have not been deleted!

Am I doing something wrong?

I also tried the following in the message box:

set the customKeys of stack "StackX" to empty

And this didn't work either.

Thanks in advance
Dave

----------------------------------------------------------------
So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Free plugins and tutorials on my website
----------------------------------------------------------------
Web site        http://www.sosmartsoftware.com/
Email        [EMAIL PROTECTED]/
Phone        33 (0)1 43 31 77 62
Mobile        33 (0)6 20 74 50 86
----------------------------------------------------------------

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to