tk - optionmenu not updating values

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I can get A & B show fine.
But once I update the @list, it doesn't show the current value from
the array. Any help?


@list = ("A","B");

        -variable     => $var,
        -options     => [@list]
        -row        => 1,
        -column     => 1,
@list = ("C","D");


Re: tk - optionmenu not updating values

Slickuser wrote:
Quoted text here. Click to load it

Try: -options => \@list

Dipl.-Inform. Frank Seitz; /
Anwendungen für Ihr Internet und Intranet
Tel: 04103/180301; Fax: -02; Industriestr. 31, 22880 Wedel

Site Timeline