[comp.sys.mac.hypercard] Scrolling text fields

isle@eleazar.Dartmouth.EDU (Ken Hancock) (02/08/88)

General question, should be fairly easy.  If you have a large scrolling text
field and you wish it to start at the top when you open the card,
how would you go about scripting that?

Ken

-- 
Ken Hancock      UUCP: isle@eleazar.dartmouth.edu
               BITNET: isle@eleazar.dartmouth.edu

DISCLAIMER: If people weren't so sue-happy, I wouldn't need one!

paulm@nikhefk.UUCP (Paul Molenaar) (02/09/88)

In article <8108@eleazar.Dartmouth.EDU>, isle@eleazar.Dartmouth.EDU (Ken Hancock) writes:
> General question, should be fairly easy.  If you have a large scrolling text
> field and you wish it to start at the top when you open the card,
> how would you go about scripting that?
> 
> Ken

Ah, that's so easy:

on openCard
  set the scroll of field <unameit> to 0
end openCard

-- 
        Paul Molenaar

	"Just checking the walls"
		- Basil Fawlty -

aisl@ur-tut.UUCP (Larry Landry) (02/10/88)

In article <8108@eleazar.Dartmouth.EDU> isle@eleazar.Dartmouth.EDU (Ken Hancock) writes:
>General question, should be fairly easy.  If you have a large scrolling text
>field and you wish it to start at the top when you open the card,
>how would you go about scripting that?
>
The following script in the card scripts should suffice

on openCard
	set the scroll of card field n to 0
end openCard

of course, you should change the specification of the field to what you want.

Larry Landry

sysop@stech.UUCP (Jan Harrington) (02/10/88)

in article <8108@eleazar.Dartmouth.EDU>, isle@eleazar.Dartmouth.EDU (Ken Hancock) says:
> 
> General question, should be fairly easy.  If you have a large scrolling text
> field and you wish it to start at the top when you open the card,
> how would you go about scripting that?
> 
> Ken
> 

You might try something link:

on openCard
	set scroll of field x to 0
end openCard


Jan Harrington, sysop
Scholastech Telecommunications
ihnp4!husc6!amcad!stech!sysop or allegra!stech!sysop

********************************************************************************
	Miscellaneous profundity:

		"No matter where you go, there you are."
				Buckaroo Banzai
********************************************************************************