--------------C50E83BE34F66E23B451B7E4
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hi all,
I have encountered 2 problems using menu separators in fdesign (V0.88
Linux).
PROBLEM 1
==========
When a separator entry is added with item name "@_" (as spec'd in
manual), it appears to add the separator in the "CurrentItems:" box,
however when running the program it displays the separator item
literally, i.e. as "@_".
I worked around this by using an underscore before the item name which
has the effect of producing a separator. This appears to be the same as
using a %l or \010 in the menu item string.
[any comments?]
PROBLEM 2 (as a result of problem 1)
==========
When I use a shortcut on the item containing the underscore, it throws
out the alignment of the shortcut underline,
i.e. Consider this short menu entry..
static FL_PUP_ENTRY fdmenu_FileMenu_0[] =
{
/* itemtext callback shortcut mode */
{ "Connect", 0, "C", FL_PUP_NONE},
{ "_Disconnect", 0, "D", FL_PUP_NONE},
{ "Exit", 0, "x", FL_PUP_NONE},
{0}
};
One would expect the "Disconnect" item to appear as "Disconnect",
however
it is more like "Disconnect", as the underline has shifted as if the
item was prefixed by the underscore.
n.b. even when I use a "Disconnect%l" or "\010Disconnect", the shortcut
underline is still incorrectly aligned.
--------
If you know a cheap fix, or can help in anyway please let me know.
Cheers,
Nigel.
-- --------------------------------------------- _____ ____ Nigel Basheer, \ \ ///// Computer Systems Engineer, | | ///// Vision Abell Pty. Ltd., Second Avenue, | | ///// Mawson Lakes, SA 5095, Australia. | / ///// Ph +61-8-83004721, Fax +61-8-83497420 |_/ //// -----nigelb@vsl.com.au---------------------- VISION SYSTEMS
--------------C50E83BE34F66E23B451B7E4 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit
Hi all,
I have encountered 2 problems using menu separators in fdesign (V0.88 Linux).
PROBLEM 1
==========
When a separator entry is added with item name "@_" (as spec'd in manual), it appears to add the separator in the "CurrentItems:" box, however when running the program it displays the separator item literally, i.e. as "@_".I worked around this by using an underscore before the item name which has the effect of producing a separator. This appears to be the same as using a %l or \010 in the menu item string.
[any comments?]
PROBLEM 2 (as a result of problem 1)
==========
When I use a shortcut on the item containing the underscore, it throws out the alignment of the shortcut underline,i.e. Consider this short menu entry..
static FL_PUP_ENTRY fdmenu_FileMenu_0[] =
{
/* itemtext callback shortcut mode */
{ "Connect", 0, "C", FL_PUP_NONE},
{ "_Disconnect", 0, "D", FL_PUP_NONE},
{ "Exit", 0, "x", FL_PUP_NONE},
{0}
};One would expect the "Disconnect" item to appear as "Disconnect", however
it is more like "Disconnect", as the underline has shifted as if the item was prefixed by the underscore.n.b. even when I use a "Disconnect%l" or "\010Disconnect", the shortcut underline is still incorrectly aligned.
--------
If you know a cheap fix, or can help in anyway please let me know.
Cheers,
Nigel.
--
--------------------------------------------- _____ ____
Nigel Basheer, \ \ /////
Computer Systems Engineer, | | /////
Vision Abell Pty. Ltd., Second Avenue, | | /////
Mawson Lakes, SA 5095, Australia. | / /////
Ph +61-8-83004721, Fax +61-8-83497420 |_/ ////
-----nigelb@vsl.com.au---------------------- VISION SYSTEMS
--------------C50E83BE34F66E23B451B7E4-- _________________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request@bob.usuf2.usuhs.mil or see http://bob.usuf2.usuhs.mil/mailserv/xforms.html XForms Home Page: http://bragg.phys.uwm.edu/xforms List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/