[comp.sys.mac.programmer] more on TCL and menus...

bitting-douglas@cs.yale.edu (Douglas Bitting) (04/12/91)

Curiouser and curiouser... I just don't get it... I have noticed a couple of
more things since my last post.

1)  When I create my Apple menu in ResEdit, I need to have two (2) separator
lines between my About command and where the DA's are going to go.  If I only
have 1 line, it disappears and random DAs get disabled.  If I have 2 lines, I
end up with one and all the DAs are enabled...

2)  After fooling around with what went in the font menu (adding and taking out
my size hierarchical menu and a dividing line, etc), I noticed that it seems to
depend on what is in the menu as to which items get disabled.  If I have both
the size menu and the separator line in, only the font name right after the
line gets disabled.  Without the separator line, two fonts get disabled, and
without the separator and the size menu, the two fonts at the bottom of the
size menu get disabled.

These are the only menus that get bothered by it.  I have one other menu that
is set to dimNONE (one of my own... not a TCL reserved one), and it does just
fine... ie, no items get disabled.  Since I have not touched the TCL menu code
other than to make my menu dimNONE, I assume that this is a bug in the TCL code
somewhere.  However, what do I do to get around it???  It is a very annoying
bug.

Thanks

-- 
Doug Bitting             | "And we know that in all things God works
PO Box 3043 Yale Station |  for the good of those who love him..."
New Haven, CT 06520      |                       --Romans 8:28
bitting@cs.yale.edu      +------------------------------------------