Re: FileQuit Menu Item

Paul Young <[email protected]> Sat, 14 Apr 2018 11:52:36 -0400
Newsgroups gmane.comp.lang.realbasic.user
Message-ID <[email protected]>
Hi Jim,

Thanks for answering.

I don’t think I understand.

I can add Quit as a menu item (File Quit Edit …) and add under that Quit menu item QuitQuitNow but I can’t add the Shortcut Command-Q.  I want the User to see that he can use Command-Q to quit the app.

Paul Young

> On Apr 14, 2018, at 11:30 AM, Jim Wagner <[email protected]> wrote:
> 
> You may have to add your own Quit menu handler.
> 
> In some apps, I found that I needed to add a quit command to the CancelQuit event. If I did not, it would crash as you describe.
> 
> Jim
> 
> James Wagner
> Oregon Research Electronics
> http://www.orelectronics.net <http://www.orelectronics.net/>
> 
> 
> 
> 
>> On Apr 14, 2018, at 8:26 AM, Paul Young <[email protected] <mailto:[email protected]>> wrote:
>> 
>> I am using Xojo 2017 Release 3 for Mac to compile for 64 bits.
>> 
>> Using the Red Close button on Window1 results in an exception thrown about one out of twenty times when compiling for 64 bits.  I have disabled the Red Close button and plan to use the Command-Q shortcut to quit the app.
>> 
>> Problem:  I have FileQuit at the bottom of MenuBar1 menu items and Command-Q does close the app but I do not see Quit under the File menu item when the app is running in the IDE or when compiled.  I do see the other File menu items.
>> 
>> Why is this?
>> 
>> Paul Young
>