Page 1 of 1

learning program help

Posted: Wed Feb 10, 2016 8:06 pm
by Gustavo Woltmann
Im creating a learning program where the user studies some key terms and their definitions and then is tested on their memory for that question. On the study card, they are simply presented the materials. on the test card they are presented they key term and a response field. My problem is that, any accidental key presses that occur on the study card show up in the response field of the next card.

I have tried several measures to prevent this from happening, including setting the locktext to true,selecting empty, trapping keypresses in the response field, but these key presses from the previous card keep showing up.

When the test card is opened, I do the typical
CODE: SELECT ALL
select text of fld response
put empty into fld response
but those bastards keep getting put into the field.
Any ideas? I'm out.
Thanks a bunch,
Phil

Re: learning program help

Posted: Wed Feb 10, 2016 9:35 pm
by Klaus
Hi Phil (Gustavo?),

1. welcome to the forum! :D

2. Sounds like that field is part of a grpup that is placed on both cards, right?
If yes, then UNcheck the "sharedtext" property of that field in the inspector!


Best

Klaus

Re: learning program help

Posted: Wed Feb 10, 2016 11:14 pm
by dunbarx
Klaus makes a great suggestion, and it is worth exploring the "sharedText" property in detail.

But if he is right, then the text in the study card would be mirrored in the test card. Keypresses, except for those that actually change the text, would not affect anything at all, and the situation would also work in reverse, that changes in the test card would mirror in the study card. It sounds to me like these are separate fields.

Ah. But they couldn't be, because then actions in one card would not affect the other.

What I mean is that I am confused. And I also do not know how your stack is laid out.

In any event, I would not group anything; that powerful feature should only be used when called for, and from what you describe, that is not the case here. So please write back with what you find if indeed unchecking the "sharedText" property fixes the problem. I would like to know how that could possibly matter.

Craig Newman