Hi Len,

It seems that when ever I load a stack into the IDE to work on it, it runs the preOpenStack handler but I would like to turn off that feature while I'm developing (so I don't accidently code an infinite loop in the handler). It would be ok if going from edit to run had this behavior. Is there possibly something like MS Access has where if you hold down the shift key while opening a database it won't run the autoexec macro?

try this one:

on preopenstack
  if NOT the shiftkey is "down" then
    ## do your "normal" preopen stuff here...
  end if
end preopenstack

Hope this helps (and works ;-)

Thanks!

len morgan

Best

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

_______________________________________________
use-revolution mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to