Re: Refreshing a card

2010-11-08 Thread Mark Smith
Monte Goulding wrote: > >> > I think this is the simplest solution to your problem. Alternatively you > could put the same code in a setprop handler in your stack script. > Something like: > > setprop showdatestamp pBoolean > if there is a fld "dateStampField" then > set the visibl

Re: Refreshing a card

2010-11-08 Thread Monte Goulding
> > >case "Toggle Date Stamp" > set the showDateStamp of this stack to not the showDateStamp of > this stack > -- new stuff added to make it visible/invisible > if there is a fld "dateStampField" then >set the visible of field "datestampfield" to the showda

Re: Refreshing a card

2010-11-07 Thread Mark Smith
Hi Monte, sorry if I missed replying. The problem was that on any specific card when I selected the "toggle date stamp" menu option, visibly nothing happened. In reality the property "showdatestamp" was changing from true to false on each menu selection based on the statement: set the showDateSta

RE: Refreshing a card

2010-11-07 Thread Mark Smith
ution-boun...@lists.runrev.com] On Behalf Of Terry Judd [...@unimelb.edu.au] Sent: Sunday, October 31, 2010 10:57 PM To: How to use Revolution Subject: Re: Refreshing a card Mark - if you want to do a general refresh the card then just call openCard in your handler. If all you want to do is refresh

Re: Refreshing a card

2010-10-31 Thread Monte Goulding
Hi Mark What do you mean by moving off the card and back on? Go to a different card of that stack or suspend and resume stack / application? Also you may need to provide your setprop handler for this property because there's nothing wrong with your menu code. Cheers Monte On 01/11/2010, at

Re: Refreshing a card

2010-10-31 Thread Terry Judd
Mark - if you want to do a general refresh the card then just call openCard in your handler. If all you want to do is refresh the date stamp object then add something like... Set the visible of grp/fld/whatever "dateStamp" to the showDateStamp of this stack ...to your case statement HTH, Terry.