in reply to Re^4: TK Submenus
in thread TK Submenus
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...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: TK Submenus
by PilotinControl (Pilgrim) on Oct 28, 2013 at 18:17 UTC |