>>Sorry it took so long to get back to you.
>
>No probs. I expect this to be a very low priority until I pay you for your advice :~)
>
>
>>If you look at a generated menu program (.MPR) of a menu that contains the editting functions, you can just cut that section out into it's own .PRG. Now, when you execute that .PRG, it creates the menu popup of the editting functions, but it doesn't belong to any menu specifically. All the hot keys, etc., should be available in your program at any time.
>>
>>Does that help?
>
>Well, I looked at the .MPR code and most of the bars seem to have something like
>
>ON SELECTION BAR # OF
DO
>
>
>On the editing bars I don't see this command.
>
>For example, there is a
>
>DEFINE POPUP edit MARGIN RELATIVE SHADOW COLOR SCHEME 4
>DEFINE BAR _MED_CUT OF edit PROMPT "Cut" KEY CTRL+X, "Ctrl+X"
>...
>
>command. But I don't see any ON SELECTION...OF EDIT commands anywhere.
>
>Like I said, I am a menu novice.
>
>Joe
You don't need to have any ON SELECTION... thingies for this stuff to work.
All you need is the DEFINE POPUP and the DEFINE BAR commands. The rest will handle itself. Try it!