Hi Len,
If you stack is hidden, it is open already, so openCard and openStack
won't work. You might use the resumeStack message:
on resumeStack
doMyOpenCardScript
end resumeStack
on openCard
doMyOpenCardScript
end openCard
on doMyOpenCardScript
-- the script you would otherwise have in
-- the openCard handler
end doMyOpenCardScript
Best,
Mark
--
Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Get your store on-line within minutes with Salery Web Store software.
Download at http://www.salery.biz
Op 18-mrt-2008, om 15:52 heeft Len Morgan het volgende geschreven:
I feel so stupid today! I have a stack that I use like a dialog
that brings up several configuration fields in my app. It is
called from the menu button at the top of the app with:
go stack "IMS Configuration"
There is only one card on this stack. I have just added a couple
of fields that I need to query the database and get two numbers to
put in the fields when the config stack is displayed. I tried an
"openStack" message (in both the stack and in the card scripts), I
tried an "openCard" script. None of them are getting called.
I changed my "call" to go to card 1 of stack "IMS Configuration"
and got the same result.
What handler to I need to put and where so that every time the
stack is opened, it can get the most up-to-date info from the
database (actually, made visible - it's always open, just hidden)?
I know this is Rev 101 kind of stuff but I'm a little stumped right
now.
len morgan
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution