in reply to Re^3: Refresh windows in Perl TK
in thread Refresh windows in Perl TK

Thanks for the help.....
I want to refresh the current window. i.e. according to the value selected by the option (VSS, CVS, etc..) the display name and the value of the field as to change from VSS to CVS in the same window.
Ex:-
$LoginFrame->Label(-text=>"VSS File Path")-> pack(-expand => '1');
$LoginBox = $LoginFrame->Entry(-textvariable=>\$vss_path,-width=>'25')->pack(-expand => '1');
to
text = "CVS file path" and the variable to $cvs_path.
Can it possible to acheive like this by using the Perl\Tk

Replies are listed 'Best First'.
Re^5: Refresh windows in Perl TK
by zentara (Cardinal) on Nov 03, 2008 at 13:47 UTC
    Yes you can do it. You can either set the refresh manually in some callback, or use the textvariable option. Just set $vss_path to whatever you want, and the Entry will automatically update. Otherwise, show a full working snippet and say what you want. Here is a clue on how to do it, you need to bind to the double click( or right-click) in the Listbox.

    I'm not really a human, but I play one on earth Remember How Lucky You Are
      Thanks for the help