messages question

Yves COPPE yvescoppe at skynet.be
Thu Dec 30 16:11:52 CST 2010


Le 30 déc. 2010 à 23:00, Mark Schonewille a écrit :

> Yves,
> 
> What do you have in the script of your mainstack *now*? What is the name of the mainstack and what is the name of the substack? 
> 
> --
> Best regards,
> 


re Mark,

the main stack : "accueil'
the substack "dialogues"

the main stack :

on preopenstack
  start using stack "mes scripts"
  set the rect of this stack to "74,96,701,542"
end preopenstack


on preOpenCard
  if the mode of this stack "accueil" = "5" then
    if not the visible of stack "accueil" then
      lock messages
      set the visible of stack "accueil" to true
      unlock messages
    end if
  end if
  if the mode of stack "accueil" = "6" then
    if not the visible of stack "accueil" then
      lock messages
      set the visible of stack "accueil" to true
      unlock messages
    end if
  end if
 end preOpenCard



Greetings.

Yves COPPE
yvescoppe at skynet.be



More information about the use-livecode mailing list