[comp.sys.mac] Microsoft Basic question

buchholz@topaz.UUCP (02/12/87)

I have a question about programming in Microsoft Basic on the Mac that
perhaps someone can answer.  It should be simple, but it escapes me
nonetheless. 

In a program, I am using buttons in the standard fashion:

BUTTON 1,1,"Continue",(245,60)-(330,75),1
     WHILE DIALOG(0) <> 1: WEND
     buttonpushed = DIALOG(1)

etc.

This puts the button on the screen, and waits for it to be pushed to
continue.

What I need to know is how to write the program so that hitting
<RETURN> will be the same as pressing the button with the mouse.  Most
Mac programs do this.

Please email to one of the addresses below.  Thanx...

					Elliott Buchholz

 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
^ Bat-Locations...						          v
^ 							       	          v
^ ARPA: buchholz@topaz.rutgers.edu, buc@blue.rutgers.edu 	          v
^ UUCP: ...!{harvard|seismo|pyramid}!rutgers!topaz!buchholz	          v
^ PONY EXPRESS: RPO 4014  /   CN 5063   /   New Brunswick, NJ  /  08903   v
^ BAT-PHONE: (201)-247-6544			                          v
^ DISCLAIMER:  The surgeon general has determined that disagreeing with   v
^              the ideas contained above can be hazardous to your health. v
^ QUOTE: "Ack." -- Bill  (a cat)					  v
 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Let the pigeons loose!!!