Hi (again) List Members (it's the second time tonight),
I create cards that require my students to input data that is used
in computations. It seems more efficient for development to have the
data input into separate lines of one field than into separate fields.
In order for the field to have the commonly expected behaviour, I use the
card script below. It causes the next line of the field to be selected
(in this case a four-line field) when the return key is hit, allowing for
quick revision of input; of course, a similar script would have to be
used for tabbing.
on returnInField
if word 2 of the selectedline < 4
then
select line (word 2 of the selectedline +1) of the target
else
select line 1 of the target
end if
end returnInField
Is there a function that allows me to determine the number of lines
visible in the field even if it is empty (that is to replace the number 4
in the script above with the result of a function)? Also, it has been
suggested to me that it is actually preferable to use separate fields for
single value inputs, but I was not provided with any compelling reason.
Is there any?
Greg
_________________________________________
Gregory Lypny
Associate Professor of Finance
Concordia University
_________________________________________
"Take chances, make mistakes!"
- Ms Frizzle, The Magic School Bus
This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm