Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File:exit
Message
From
27/01/2000 16:49:31
 
 
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Title:
Miscellaneous
Thread ID:
00323620
Message ID:
00323817
Views:
20
>>Here's the code:
>>
>
>Michelle, please add a space between a < and the next character to make UT's HTML parser happy next time - I've added it here:
>
>>
>>DEFINE POPUP _mfile MARGIN RELATIVE SHADOW COLOR SCHEME 4
>>DEFINE BAR _mfi_close OF _mfile PROMPT "\< Close" ;
>>	MESSAGE "Closes the current file"
>>DEFINE BAR _mfi_quit OF _mfile PROMPT "E\< xit" ;
>>	MESSAGE "Quits Visual FoxPro"
>>
>>
>>The "close" works; the "exit" doesn't. I don't see anything that does anything different on the "exit" one.
>>
>
>OK, now there's something to give us a clue. Could be that _mfi_quit is bypassing the shutdown, and _mfi_close is not; the obvious fix here is to change what the menu bar does when called! And even easier would've been to try simply changing the _mfi_quit, which didn't work, to _mfi_close, that did. Whne that worked, then try to track down what the difference in behaviors was from a pragmatic perspective.
>
>In the docs, look under Menu Items/Activating System in the Index tab, SYS(2013), and Chapter 11, Designing Menus and Toolbars, in the Programmer's Guide.
>
>I'll leave off the obvious Four-Letter Acronym that starts with "R". If I respond again, I'll probably be just as sarcastic about looking things up and trying practical exercises to see what is different between things.
>
>I'd be totally ignorant about how things worked if I didn't bother to look. If computers could think and generate complete, consistent beautiful apps without having to look at what they do, I would be out of work. In fact, so would you - app programmers would be completely useless lazy people instead of lazy people who can apply neurochemical energy to solving problems when pressed.
>
>IOW, the answer was right there in code. And in the docs.


It may be obvious to you, but it's not to me. I don't see anyting that tells me what it does when it's called. I don't want to argue about it anymore. It works now and I don't feel like investing the energy into figuring out why the quick menu didn't work. I got enough to worry about with going under the knife tomorrow and I'm too touchy to deal with your attitude.

Thanks for your help,

Michelle
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform