Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to link help to a menu item
Message
From
20/01/2022 14:12:06
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
20/01/2022 13:29:16
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
01683301
Message ID:
01683302
Views:
46
>We have context sensitive help in our app. If you click F1 when in a form it will take you to the help item for that form. Any ideas on to do that from a menu item? Either hover over a menu item and be able to do something that will take you to help with the name of the menu item. Or some way to click the menu item and have it go to help with the menu information? Any ideas?

You mean additional to the normal behaviour of the menu item? I guess this will be impossible, the menu exposes no function.
But, at least for the whole POPUP, there is a way:
Then it's a menu or a shortcut?
For a shortcut,
There is on (system) menu View/General Options a SETUP / CLEANUP code that runs wrapping the shortcut. You might set / remove a topic id here with SET TOPIC ID TO

For a menu
You need to create the POPUPs as single menu files, with the setup / cleanup as above
In the menu itself you only declare the PADs, with command and the command is the do menux.mpr to run POPUPS create one step above.
else
You can create the whole menu by code (copy of a MPR) add some procedures to call the respective POPUP and modify the ON PAD calls accordingly.

I'm not sure about SET TOPIC ID TO at all, my last adventure with help was nearly 18 years ago.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform