RE: Urgent problem: group missing keyDown event

2001-06-12 Thread Monte Goulding


Well what I would do on a user interface standpoint more than anythin is
disable questions that are skipped depending on previous answers. In your
example if the user has no phobia then then the phobia related questions are
disabled. I can't really help any more than that without seeing the stack.

Monte


 Hello all,

 I've got a problem. I made a program which poses a couple of
 (psychological)
 questions to the user. It get the questions from a text file and displays
 them one by one on the card. Some questions of them are multiple- choice,
 and can (besides of clicking the right answer with the mouse) be chosen by
 typing in a number (1,2,3 etc.).

 This all works great 'till I make a 'jump' to a question in the list. E.g.
 the user says he has no phobia, then the questions meant to find out what
 phobia are skipped. Then it's no longer possible to choose an answer with
 the keyboard??? A constant shown group should (and does most of the time)
 grab the keyDown message, but now, for some reason, doesn't anymore.

 If I choose the arrow tool, select the group, and choose the browse tool
 again, everything works OK again...

 Is this a bug or what? Does anyone know in what order the message goes
 through the groups ('cause I've more of them on the card)?

 Please help, 'cause this is a bug that has to be fixed on short term...

 Thanks in advance for any help,
 Sjoerd


 Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
 Info: http://www.xworlds.com/metacard/mailinglist.htm
 Please send bug reports to [EMAIL PROTECTED], not this list.



Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: Urgent problem: group missing keyDown event

2001-06-12 Thread Dave Cragg

At 6:36 am +0200 12/6/01, Sjoerd Op 't Land wrote:
I've got a problem. I made a program which poses a couple of (psychological)
questions to the user. It get the questions from a text file and displays
them one by one on the card. Some questions of them are multiple- choice,
and can (besides of clicking the right answer with the mouse) be chosen by
typing in a number (1,2,3 etc.).

This all works great 'till I make a 'jump' to a question in the list. E.g.
the user says he has no phobia, then the questions meant to find out what
phobia are skipped. Then it's no longer possible to choose an answer with
the keyboard??? A constant shown group should (and does most of the time)
grab the keyDown message, but now, for some reason, doesn't anymore.

If I choose the arrow tool, select the group, and choose the browse tool
again, everything works OK again...

Is this a bug or what? Does anyone know in what order the message goes
through the groups ('cause I've more of them on the card)?

If any object in any of these other fields has the focus, then it 
seems that messages don't get through to the other groups (whether 
explicitly passed or not). I don't know if this classes as a bug, but 
I seem to remember this behaving differently in previous versions. 
(pre 2.3 ??)

One solution would be to make sure none of the other groups has the focus.

Another solution would be to put the keydown handler in the card 
script, if this is feasible. (Easiest solution where possible.)

Perhaps Scott can confirm whether this is a change in behavior. 
However, I remember checking this out once and writing a mail 
describing the group/background message passing behavior.

I thought it went something like this when the first object receiving 
the message was in a group:

object in group
group
card
other groups in order of layer, highest to lowest (i.e. background behavior)
stack

And if the card is the first oject to receive the message then:

card
all groups in order of layer (highest to lowest)
stack

But it seems that (in 2.3.2 anyway) when the first object receiving 
the message is in a group, it's like this:

object in group
group
card
stack

Cheers
Dave Cragg

Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: Urgent problem: group missing keyDown event

2001-06-12 Thread Dave Cragg

At 1:29 pm +0100 12/6/01, Dave Cragg wrote:

Is this a bug or what? Does anyone know in what order the message goes
through the groups ('cause I've more of them on the card)?

If any object in any of these other fields has the focus, then it
seems that messages don't get through to the other groups (whether
explicitly passed or not). I don't know if this classes as a bug,
but I seem to remember this behaving differently in previous
versions. (pre 2.3 ??)

Oops. The first line should read:

If any object in any of these other *groups* has the focus...

Cheers
Dave Cragg

Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: Urgent problem: group missing keyDown event

2001-06-12 Thread Sjoerd Op 't Land

I know I'm a bit late, but first priority was to get things out of the door,
so...

Monte Goulding wrote/ schreef:

 Well what I would do on a user interface standpoint more than anythin is
 disable questions that are skipped depending on previous answers. In your
 example if the user has no phobia then then the phobia related questions are
 disabled. I can't really help any more than that without seeing the stack.
Well, I was afraid for that already, but I hadn't time to upload it and
explain the recipe.

 Monte
Dave Cragg wrote/ schreef:

 But it seems that (in 2.3.2 anyway) when the first object receiving
 the message is in a group, it's like this:
 
 object in group
 group
 card
 stack
Thanks a lot! This was exactly what I needed!

 Cheers
 Dave Cragg
Thanks a lot you both,
Sjoerd


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Urgent problem: group missing keyDown event

2001-06-11 Thread Sjoerd Op 't Land

Hello all,

I've got a problem. I made a program which poses a couple of (psychological)
questions to the user. It get the questions from a text file and displays
them one by one on the card. Some questions of them are multiple- choice,
and can (besides of clicking the right answer with the mouse) be chosen by
typing in a number (1,2,3 etc.).

This all works great 'till I make a 'jump' to a question in the list. E.g.
the user says he has no phobia, then the questions meant to find out what
phobia are skipped. Then it's no longer possible to choose an answer with
the keyboard??? A constant shown group should (and does most of the time)
grab the keyDown message, but now, for some reason, doesn't anymore.

If I choose the arrow tool, select the group, and choose the browse tool
again, everything works OK again...

Is this a bug or what? Does anyone know in what order the message goes
through the groups ('cause I've more of them on the card)?

Please help, 'cause this is a bug that has to be fixed on short term...

Thanks in advance for any help,
Sjoerd


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.