🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #14416

Microsoft Basic question

#14416
From: buchholz
Date: Thu, 12 Feb 1987 19:17
36 lines
1819 bytes
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!!!
Technical Details
Message-ID: <9184@topaz.RUTGERS.EDU>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!rutgers!topaz!buchholz

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!rutgers!topaz!buchholz
From: buchholz@topaz.UUCP
Newsgroups: comp.sys.mac
Subject: Microsoft Basic question
Message-ID: <9184@topaz.RUTGERS.EDU>
Date: Thu, 12-Feb-87 14:17:33 EST
Article-I.D.: topaz.9184
Posted: Thu Feb 12 14:17:33 1987
Date-Received: Fri, 13-Feb-87 19:48:08 EST
Organization: Rutgers Univ., New Brunswick, N.J.
Lines: 36