Using default menu items in a custom menu?? 
Author Message
 Using default menu items in a custom menu??

Quote:

>I know this has probably been posted before (is there a FAQ?) but I couldn't
>find any recent article about it so i'm asking again :
>I'm trying to emulate some Paradox default menu items from within a custom
>menu, things like print, printer setup, next record, locate record, Using help
>etc...
>I've found the relevant page in the developers guide and by using :
>case choice = "&Using Help" : active.action(ManuHelpUsingHelp)
>(for example)
>to bring up the using help section, I thought i'd get just that, however, it
>didn't work and neither did any of the other ones i've tried from the list of
>constants.
>What am I doing wrong? How do I make my custom menus perform the Paradox
>default items as if the user had selected these items from the default menu?
>Any help would be much appreciated...
>--

You have the right idea, but you need to use MENUACTION instead of ACTION:

menuAction(MenuFilePrinterSetup) will invoke the printer setup dialog.

--
                    Limax Computing - Paradox Questions?




Fri, 23 Aug 1996 14:42:30 GMT
 Using default menu items in a custom menu??

I know this has probably been posted before (is there a FAQ?) but I couldn't
find any recent article about it so i'm asking again :

I'm trying to emulate some Paradox default menu items from within a custom
menu, things like print, printer setup, next record, locate record, Using help
etc...

I've found the relevant page in the developers guide and by using :

case choice = "&Using Help" : active.action(ManuHelpUsingHelp)
(for example)
to bring up the using help section, I thought i'd get just that, however, it
didn't work and neither did any of the other ones i've tried from the list of
constants.

What am I doing wrong? How do I make my custom menus perform the Paradox
default items as if the user had selected these items from the default menu?

Any help would be much appreciated...

--

L   L L     L   L  +-----------------------------------------+  /  \
LLLLL LLLLL LLLLL  Disclaimer : Any opinions expressed here    / /  \
L   L     L L   L  are obvious typos, please ignore them.      \/ / /
L   L LLLLL L   L  "Remember - Wherever you go, there you are"  \/ /
(It's goverment ACSII art!!)            -Buckaroo Bonsai         \/



Fri, 23 Aug 1996 09:25:12 GMT
 Using default menu items in a custom menu??

writes:

Use menuAction([menu action constant]).  Example :
menuAction(MenuFilePrinterSetup).  Hope this helped.



Thu, 07 Nov 1996 01:30:01 GMT
 
 [ 3 post ] 

 Relevant Pages 

1. How create menu items without Menu Editor

2. VFP3.0b System menu items in User-defined menu

3. Custom Runner and INFORMIX-Menus (Fourgen Menus)

4. Custom menus with Original PDOX menus?

5. Custom Runtime Menu item

6. Creating custom menu-items with _adeevnt.p

7. [HELP: Combine Paradox Default menu with my own menu]

8. Disable default menu items

9. Default Item in Pop-Up Menu?

10. How to add an item to default popup menu

11. add items to default popup menu

12. Using Foxpro Menu options in my menu


 
Powered by phpBB® Forum Software