Dear List
 
Although I can't find it documented in Help, using examples I've found,
I managed to set up my menu with hot-keys/keyboard shortcuts, i.e. the
underscored characters, using "&", e.g. File menu.  Below is an example:
 
 Create Menu "&Stops" as 
 "&Plot Stops in a Route"
   HelpMsg "Identify all the Stops along a Plotted Route"
   calling PLOT_ROUTE_STOPS,
 "&Move Stops"
   HelpMsg "Move Bus Stops on the Map to new Locations" 
   Calling MOVE_STOPS
 
Now these underscored hot-key chars, both on the main menu and the
drop-down menu items, all work.
However, they don't show up unless you use them.
 
e.g. the above Stops menu item appears as just "Stops".  If, however, I
enter ALT-S (or any other hot-key) then the Stops menu IS activated, all
the other menu items show their hot-keys, and the drop-down menu shows
its.  If I use the mouse then none of them is displayed.
 
Well this is not a lot of use to the user, not being able to see a
hot-key undercore unless he uses one.
Is there something I'm missing in my code? As I said, I couldn't find
the "&" bit in Help, and maybe it needs an accompanying char?
 
'ppreciate it
 
Terry McDonnell

Reply via email to