Context help for user menu's

3 views
Skip to first unread message

Fred H Olson

unread,
Apr 13, 2013, 2:19:55 PM4/13/13
to Semware
Is there way to make context help work for user created menus?
TSE trys to find such help when the cursor is on a menu line
of a User menu and <F1> is pressed.

For example I have a menu called "Quick Browse".
One line of the menu's source code is:

"Lis&t Open" , ListOpen()

When I have that line selected in the menu and press <F1> it
displays a full screen window with the following in the middle:
Topic 'Quick Browse menu->List Open' not found

What would have to exist for this to return useful help about list open?

Fred

--
Fred H. Olson Minneapolis,MN 55411 USA (near north Mpls)
Email: fholson at cohousing.org 612-588-9532
My Link Pg: http://fholson.cohousing.org My org:
Communications for Justice -- Free, superior listserv's w/o ads

S.E. Mitchell

unread,
Apr 13, 2013, 5:08:37 PM4/13/13
to TSEPro Support
All the details are in there.

--
Sammy



--

---
You received this message because you are subscribed to the Google Groups "SemWare TSE Pro text editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to semware+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



Larry

unread,
Apr 13, 2013, 5:24:47 PM4/13/13
to sem...@googlegroups.com
/***
I agree about menu helps. It seems that the F1 can look for them, but
there does not seem to be a way to 'create' them.

I explored this once before and came up with a simplified one-line help
for any item in a menu.

The example below shows a 'message' after three commas after each menu
item. This message will appear on one line at the bottom of the screen
while each item is hilited. No need to press the F1 key.

***/

// jigmenuhelp.s - try to offer help on menu item

<ctrlshift x> execmacro("jigmenuhelp")

menu mtest()
title="Testing menu Help Menu"
history

"" , , divide
"" , , _mf_skip_
""
"I&tem 1" , , , "This is help for Item 1 in the mTest Menu."
"Item &2" , , , "This is help for Item 2 in the mTest Menu."
""
"" , , _mf_skip_
"" , , divide

end

proc main()

integer m=0
integer k=0

m=mtest()
k=query(key)

warn("Menu Selection: "+str(m)+chr(13)+"Key Pressed: "+keyname(k))

end
Reply all
Reply to author
Forward
0 new messages