You still have not shown where you declare $opsm. It would be useful to see how that line looks like: my $opsm; or similar. Also in which order do you declare and call the functions you have provided so far.
In addition I have two question to this snippet:
if ( !Exists( $mm ) ) { my $mm = $mw->Toplevel(); ...
Is Exists a Tk specific function (because of the capital E)? You declare a new variable $mm just after testing it in the line before. Is this intentional?
Apologies for asking one question after the other but I still have no clear picture what is going on...
In reply to Re^5: TK Submenus
by hdb
in thread TK Submenus
by PilotinControl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |