A problem with clearing fields on marked cards
charles61
cszasz at mac.com
Wed Jun 9 14:24:43 EDT 2010
Craig,
Well, I have 72 cards and I had locked the label fields two weeks ago. But I will try your suggestion. I need practice in creating custom property!
Charles Szasz
cszasz at mac.com
On Jun 9, 2010, at 2:16 PM, dunbarx [via Runtime Revolution] wrote:
> Charles,
>
> I think you are almost there. But I would not use the "locktext" to
> distinguish label fields from all my other fields, for reasons already discussed. I
> would set a custom property:
>
> if the isLabel of field u of card y is "true" then put empty into field u
> of marked card y
>
> This is clean and unassailable.
>
> Craig
>
>
> In a message dated 6/9/10 1:03:14 PM, [hidden email] writes:
>
>
> > Craig,
> >
> > I made some changes in my script, which works. I am carefully checking any
> > field on a marked card to see if there are problems.
> >
> > Here is the revised script
> >
> > on mouseUp
> > repeat with y = 1 to the number of marked cds ------> Clears fields on
> > marked cards
> > repeat with u = 1 to the number of fields of marked card y
> >
> > if the lockText of field u of card y is false then put empty into
> > field u of marked card y
> > -- if the short name of field u of marked card y CONTAINS
> > "field" then put empty into field u of marked card y
> > end repeat
> > end repeat
> > end mouseUp
> >
> > What do you think?
> >
> > Charles Szasz
> >
> _______________________________________________
> use-revolution mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
> View message @ http://runtime-revolution.278305.n4.nabble.com/A-problem-with-clearing-fields-on-marked-cards-tp2245427p2249279.html
> To unsubscribe from A problem with clearing fields on marked cards, click here.
>
--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/A-problem-with-clearing-fields-on-marked-cards-tp2245427p2249293.html
Sent from the Revolution - User mailing list archive at Nabble.com.
More information about the use-livecode
mailing list