Page 1 of 1

Card event question

Posted: Fri May 25, 2007 9:39 pm
by kpeters
I'd like to know when a card hooked up to a tab menu is shown but not in the menuPick event but rather in something like an onShow event (if it existed). Could not find anything usable in the docs but may of course have overlooked something.

Is there a way or should I settle for the menuPick?

TIA,
KAi

Posted: Fri May 25, 2007 11:42 pm
by Mark
Kai,

In what way did you hook up a card to a tab menu?

Why do you need to know that a particular card is shown? If you have a "go card" command somewhere, the card will show up, unless you deliberately prevent it from showing up.

Would the preOpenCard message be of any help? It would help if you could elaborate on the problem.

Best,

Mark

Posted: Sat May 26, 2007 12:19 am
by kpeters
Mark ~

it's hooked up the way the training video that comes with RR demonstrates.

preOpenCard doesn't help as it seems to run only once (thes card then seems to remain open in the background?).

I want to run some card dependant database code every time the tab menu switches to another card.

I guess I could close the card I am leaving so that openCard or preOpenCard would run again but this strikes me as "resource unfriendly"...

Kai