Hi Rob,

Hi FRank and Klaus

Yes Frank  this is OK!
function content
  return fld "content" of  stack "frontpage"
end content
put the number of lines in the text of content()

At 18:09 28/2/2005, Klaus Major wrote:
You have a handler in the stack script of stack "frontpage" called "fillfield" and want it to be executed
everytime a card is opened?
In that case put this into the stack script, too:


on opencard
  ## or preopencard
  fillfield
  ## no need to SEND anything!
end opencard

No Klaus, the fillfield handler is in the script of the mainstack "pages".
It has to be executed when entering card "index" of substack frontpage.
It does'nt matter where I put the fillfield handler: card-stack, on openstack
on opencard on preopen..., nowhere this handler is called.
So I had to put in a navigationbutton on the mainstack "pages"
go card "index" of stack "frontpage" fillfield and that works!
But I want it when opening that index/frontpagecard.

It should work when you put this into the script of card "index" of stack "frontpage":
(Substacks DO have access to the scripts of their mainstack!)


on opencard
  fillfield
end opencard

Good night
Rob

[EMAIL PROTECTED]
www.japrosoft.com
no more spam: Mailwasher Pro
http://www.firetrust.com/products/pro/
and please mention my emailaddress...

Regards

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