Re: on returnkey doesn't work

2007-05-08 Thread Matthew
you might also try something like the closeField handler. It is sent  
to the field whenever the user changed something in it. If you were  
to put one in the card script and check the target, it should tell  
you which field it was, although I have not tested it.

--
Matthew Peterson
Programmer
Christa McAuliffe Space Education Center


On May 5, 2007, at 4:11 PM, Jim Ault wrote:


Using these two handler in a card script works fine:

card script
---
on returnKey
  go next
end returnKey

on returninfield
  put the seconds   user hit return in   the target
end returninfield

Without a returninfield override handler, then the tab on return  
as true
on  each field means that upon reaching the last visible line, the  
tab key
will be the effect.  Now the layer order of the fields controls the  
movement


Jim Ault
Las Vegas


On 5/5/07 2:36 PM, Joe Lewis Wilkins [EMAIL PROTECTED] wrote:


Back, again with what could be a pretty stupid question, and...
this seems like a pretty elementary feature that should work, but
doesn't - for me - right now.
Thoughts?

I've put the following into a card script and then tried it in a
field script that would have an insertion point or some selected
text. Essentially, I'm trying to identify which of the 45 text fields
on a card is the one in which the user has just entered something, so
that I can use the return key to go to the next field; the tab key
works fine in this regard, but I'd like the return key to do the same
thing. Each of these text fields only uses the first line, but if the
return key is pressed now, it goes to the next line. Perhaps I should
be using a different type of field; maybe a label instead?

on returnKey
-- do anything; I tried a beep and as the dictionary said: go
next cd; nothing happens
end returnKey

Then in a field
on returnField
   -- ditto
end returnField

TIA,

Joe Wilkins
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription

preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: on returnkey doesn't work

2007-05-08 Thread Joe Lewis Wilkins
Guess I forgot to get back with the solution to my question; since it  
was really quite simple. I just has had to set the Tab On Return  
property of each of the Fields to true; now pressing return or enter  
functions the same as pressing the TAB key. Sorry... I believe it was  
Jim who proded me in the right direction.


Joe Wilkins

On May 8, 2007, at 2:44 PM, Matthew wrote:

you might also try something like the closeField handler. It is  
sent to the field whenever the user changed something in it. If you  
were to put one in the card script and check the target, it should  
tell you which field it was, although I have not tested it.

--
Matthew Peterson
Programmer
Christa McAuliffe Space Education Center


On May 5, 2007, at 4:11 PM, Jim Ault wrote:


Using these two handler in a card script works fine:

card script
---
on returnKey
  go next
end returnKey

on returninfield
  put the seconds   user hit return in   the target
end returninfield

Without a returninfield override handler, then the tab on return  
as true
on  each field means that upon reaching the last visible line, the  
tab key
will be the effect.  Now the layer order of the fields controls  
the movement


Jim Ault
Las Vegas


On 5/5/07 2:36 PM, Joe Lewis Wilkins [EMAIL PROTECTED] wrote:


Back, again with what could be a pretty stupid question, and...
this seems like a pretty elementary feature that should work, but
doesn't - for me - right now.
Thoughts?

I've put the following into a card script and then tried it in a
field script that would have an insertion point or some selected
text. Essentially, I'm trying to identify which of the 45 text  
fields
on a card is the one in which the user has just entered  
something, so

that I can use the return key to go to the next field; the tab key
works fine in this regard, but I'd like the return key to do the  
same
thing. Each of these text fields only uses the first line, but if  
the
return key is pressed now, it goes to the next line. Perhaps I  
should

be using a different type of field; maybe a label instead?

on returnKey
-- do anything; I tried a beep and as the dictionary said: go
next cd; nothing happens
end returnKey

Then in a field
on returnField
   -- ditto
end returnField

TIA,

Joe Wilkins
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription

preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


on returnkey doesn't work

2007-05-05 Thread Joe Lewis Wilkins

Back, again with what could be a pretty stupid question, and...
this seems like a pretty elementary feature that should work, but  
doesn't - for me - right now.

Thoughts?

I've put the following into a card script and then tried it in a  
field script that would have an insertion point or some selected  
text. Essentially, I'm trying to identify which of the 45 text fields  
on a card is the one in which the user has just entered something, so  
that I can use the return key to go to the next field; the tab key  
works fine in this regard, but I'd like the return key to do the same  
thing. Each of these text fields only uses the first line, but if the  
return key is pressed now, it goes to the next line. Perhaps I should  
be using a different type of field; maybe a label instead?


on returnKey
   -- do anything; I tried a beep and as the dictionary said: go  
next cd; nothing happens

end returnKey

Then in a field
on returnField
  -- ditto
end returnField

TIA,

Joe Wilkins
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: on returnkey doesn't work

2007-05-05 Thread Sarah Reichelt

I've put the following into a card script and then tried it in a
field script that would have an insertion point or some selected
text. Essentially, I'm trying to identify which of the 45 text fields
on a card is the one in which the user has just entered something, so
that I can use the return key to go to the next field; the tab key
works fine in this regard, but I'd like the return key to do the same
thing. Each of these text fields only uses the first line, but if the
return key is pressed now, it goes to the next line. Perhaps I should
be using a different type of field; maybe a label instead?

on returnKey
-- do anything; I tried a beep and as the dictionary said: go
next cd; nothing happens
end returnKey

Then in a field
on returnField
   -- ditto
end returnField



You need a returnInField handler to trap returns inside a field. You
might also need to check for enterInField.

Cheers,
Sarah
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: on returnkey doesn't work

2007-05-05 Thread Jim Ault
Using these two handler in a card script works fine:

card script
---
on returnKey
  go next
end returnKey

on returninfield
  put the seconds   user hit return in   the target
end returninfield

Without a returninfield override handler, then the tab on return as true
on  each field means that upon reaching the last visible line, the tab key
will be the effect.  Now the layer order of the fields controls the movement

Jim Ault
Las Vegas


On 5/5/07 2:36 PM, Joe Lewis Wilkins [EMAIL PROTECTED] wrote:

 Back, again with what could be a pretty stupid question, and...
 this seems like a pretty elementary feature that should work, but
 doesn't - for me - right now.
 Thoughts?
 
 I've put the following into a card script and then tried it in a
 field script that would have an insertion point or some selected
 text. Essentially, I'm trying to identify which of the 45 text fields
 on a card is the one in which the user has just entered something, so
 that I can use the return key to go to the next field; the tab key
 works fine in this regard, but I'd like the return key to do the same
 thing. Each of these text fields only uses the first line, but if the
 return key is pressed now, it goes to the next line. Perhaps I should
 be using a different type of field; maybe a label instead?
 
 on returnKey
 -- do anything; I tried a beep and as the dictionary said: go
 next cd; nothing happens
 end returnKey
 
 Then in a field
 on returnField
-- ditto
 end returnField
 
 TIA,
 
 Joe Wilkins
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: on returnkey doesn't work

2007-05-05 Thread Joe Lewis Wilkins
Sarah, you were included too. I just saw Jim's reply first. These  
damn eyes! For those of you who don't know, you might find it  
interesting to know that about 6 or 7 years ago my left eye  
developed a hole in its macula; so when I try to read that hole  
sometimes blanks out portions that I normally can see with my right  
eye alone. With just the left eye, I can see, but I can't read a  
thing. Very disturbing for one who has used his eyes as his most  
important sense.


Joe Wilkins

On May 5, 2007, at 2:44 PM, Sarah Reichelt wrote:


I've put the following into a card script and then tried it in a
field script that would have an insertion point or some selected
text. Essentially, I'm trying to identify which of the 45 text fields
on a card is the one in which the user has just entered something, so
that I can use the return key to go to the next field; the tab key
works fine in this regard, but I'd like the return key to do the same
thing. Each of these text fields only uses the first line, but if the
return key is pressed now, it goes to the next line. Perhaps I should
be using a different type of field; maybe a label instead?

on returnKey
-- do anything; I tried a beep and as the dictionary said: go
next cd; nothing happens
end returnKey

Then in a field
on returnField
   -- ditto
end returnField



You need a returnInField handler to trap returns inside a field. You
might also need to check for enterInField.

Cheers,
Sarah
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution