Re: Quit vs Exit

2005-03-28 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
on preOpenStack
  if the platform is "Win32" then put "E&xit" into the last line of 
button "File"
  else put "Quit/Q" into the last line of button "File"
end preOpenStack

then just intercept the option with either name in your menu script.
On Mar 28, 2005, at 12:01 AM, Pat Trendler wrote:
Actually this is on my user space - Pat.
I put it there because some people had asked about it. I took it down 
a few weeks ago and immediately got requests to put it back.

This time I've also put a copy of the text from the tutorial.
It is probably the most useful of all the tutorials (once you have 
done the beginners stuff). There is so much there that will help you 
in building an app.A lot of the questions and things not thought of 
for those new to RR get answered.

Pat.
- Original Message - From: "Richard Gaskin" 
<[EMAIL PROTECTED]>
To: "How to use Revolution" 
Sent: Monday, March 28, 2005 10:44 AM
Subject: Re: Quit vs Exit


Stewart Lynch wrote:
In Dan Shaver's book "Revolution, Software at the speed of Thought" 
he
refers to a solution for the Macintosh 'Quit' vs Windows 'Exit' menu
option.  He suggest that we get the code from Richard Gaskin's 
Intependent
Study Tutorial that ships with Revolution.

Unfortunately, this shipped with earlier versions of Revolution and 
not
the latest version.  Can anyone send me this stack or tell me how to 
deal
with this problem?
Thanks for bringing this to my attention.  I'll follow up with Kevin 
to see if he plans on reinstating it.  If not I'll publish a variant 
of it myself.  I feel strongly that having as much info as possible 
to help newcomers is critical for the success of the product.

--
 Richard Gaskin
 Fourth World Media Corporation
 __
 Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

- ---
Frank D. Engel, Jr.  <[EMAIL PROTECTED]>
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCSDUg7aqtWrR9cZoRAlvgAJ9cwJd/d23q1uy2YW5xq5BDbAi9sACfdJL9
mFZ0RzHNTKbScYBgiTUJBgY=
=Xv4a
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Quit vs Exit

2005-03-27 Thread Pat Trendler
Actually this is on my user space - Pat.
I put it there because some people had asked about it. I took it down a few 
weeks ago and immediately got requests to put it back.

This time I've also put a copy of the text from the tutorial.
It is probably the most useful of all the tutorials (once you have done the 
beginners stuff). There is so much there that will help you in building an 
app.A lot of the questions and things not thought of for those new to RR get 
answered.

Pat.
- Original Message - 
From: "Richard Gaskin" <[EMAIL PROTECTED]>
To: "How to use Revolution" 
Sent: Monday, March 28, 2005 10:44 AM
Subject: Re: Quit vs Exit


Stewart Lynch wrote:
In Dan Shaver's book "Revolution, Software at the speed of Thought" he
refers to a solution for the Macintosh 'Quit' vs Windows 'Exit' menu
option.  He suggest that we get the code from Richard Gaskin's 
Intependent
Study Tutorial that ships with Revolution.

Unfortunately, this shipped with earlier versions of Revolution and not
the latest version.  Can anyone send me this stack or tell me how to deal
with this problem?
Thanks for bringing this to my attention.  I'll follow up with Kevin to 
see if he plans on reinstating it.  If not I'll publish a variant of it 
myself.  I feel strongly that having as much info as possible to help 
newcomers is critical for the success of the product.

--
 Richard Gaskin
 Fourth World Media Corporation
 __
 Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Quit vs Exit

2005-03-27 Thread Richard Gaskin
Stewart Lynch wrote:
In Dan Shaver's book "Revolution, Software at the speed of Thought" he
refers to a solution for the Macintosh 'Quit' vs Windows 'Exit' menu
option.  He suggest that we get the code from Richard Gaskin's Intependent
Study Tutorial that ships with Revolution.
Unfortunately, this shipped with earlier versions of Revolution and not
the latest version.  Can anyone send me this stack or tell me how to deal
with this problem?
Thanks for bringing this to my attention.  I'll follow up with Kevin to 
see if he plans on reinstating it.  If not I'll publish a variant of it 
myself.  I feel strongly that having as much info as possible to help 
newcomers is critical for the success of the product.

--
 Richard Gaskin
 Fourth World Media Corporation
 __
 Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Quit vs Exit

2005-03-27 Thread T. R. Ponn
Stewart,
Here's the essence of what I do (a lot of irrelevant code chopped out 
here).  I used to have a lot of this in the openStack as opposed to 
breaking out separate functions.  What you don't see here in the 
abridged version is a lot of other setup stuff that is platform 
specific.  You can streamline it for your application from here:

on openStack
 put whichMachine(platform()) into thisMachine
 do "setUp"&thisMachine
 set the maxHeight of this stack to "475"
 set the maxWidth of this stack to "640"
 set the resizable of this stack to true
end openStack
function whichMachine thisPlatform
 if thisPlatform="MacOS" then
   set the itemDelimiter to "." -- OS versions are of the form "x.y.z"
   if item 1 of the systemVersion >= 10 then
 put "OSX" into thisMachine
   else
 put "Mac" into thisMachine
   end if
   set the itemDelimiter to ","
 else if thisPlatform="Linux" then put "Lin" into thisMachine
 else if thisPlatform="Win32" then put "Win" into thisMachine
 else if thisPlatform="BSD" then put "BSD" into thisMachine
 else if thisPlatform="HP-9000/700" then put "HPX" into thisMachine
 else if thisPlatform="SGI IRIS" then put "Iri" into thisMachine
 else if thisPlatform="IBM RS/6000" then put "RS6" into thisMachine
 else if thisPlatform="Intel SVR4" then put "SOL" into thisMachine
 else if thisPlatform="SPARC" then put "SPC" into thisMachine
 else if thisPlatform="SPARC Solaris" then put "SSO" into thisMachine
 else put "???" into thisMachine
 return thisMachine
end whichMachine
on setUpMac
 put "Quit/Q" into line 2 of btn "File" of card "Main"
 put "Help/?" into line 1 of btn "Help" of card "Main"
 set the decorations of this stack to default
end setUpMac
on setUpOSX
 put "Quit/Q" into line 2 of btn "File" of card "Main"
 put "Help/?" into line 1 of btn "Help" of card "Main"
 set the decorations of this stack to default
end setUpOSX
on setUpWin
 put "Exit/E" into line 2 of btn "File" of card "Main"
 put "Help/H" into line 1 of btn "Help" of card "Main"
 set the decorations of this stack to "minimize, maximize, menu"
end setUpWin
Best Regards,
Tim Ponn

Stewart Lynch wrote:
In Dan Shaver's book "Revolution, Software at the speed of Thought" he
refers to a solution for the Macintosh 'Quit' vs Windows 'Exit' menu
option.  He suggest that we get the code from Richard Gaskin's Intependent
Study Tutorial that ships with Revolution.
Unfortunately, this shipped with earlier versions of Revolution and not
the latest version.  Can anyone send me this stack or tell me how to deal
with this problem?
***

:  o/  : Stewart Lynch
: <|   : Director of Instruction, Technology and Information Services
: / >  : Richmond School District
:..:   Richmond, BC Canada
Internet: [EMAIL PROTECTED]
https://public.sd38.bc.ca/~slynch
tel. (604) 668-6128 fax: (604) 668-6006
***
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
 


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Quit vs Exit

2005-03-27 Thread Stewart Lynch
In Dan Shaver's book "Revolution, Software at the speed of Thought" he
refers to a solution for the Macintosh 'Quit' vs Windows 'Exit' menu
option.  He suggest that we get the code from Richard Gaskin's Intependent
Study Tutorial that ships with Revolution.

Unfortunately, this shipped with earlier versions of Revolution and not
the latest version.  Can anyone send me this stack or tell me how to deal
with this problem?

***

:  o/  : Stewart Lynch
: <|   : Director of Instruction, Technology and Information Services
: / >  : Richmond School District
:..:   Richmond, BC Canada
Internet: [EMAIL PROTECTED]
https://public.sd38.bc.ca/~slynch
tel. (604) 668-6128 fax: (604) 668-6006
***

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution