Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Perl/Tk - get latest text displayed in scrolled window 2

Status
Not open for further replies.

MoshiachNow

IS-IT--Management
Joined
Feb 6, 2002
Messages
1,851
Location
IL
HI,

How do I get latest text displayed in scrolled window ?
With my current code I get the first text displayed,and the latest text is hidden down below and needs to be scrolled...

my $txt = $mw->Scrolled(qw/Text -relief sunken -borderwidth 2 -setgrid true -height 30 -scrollbars e/);

Thanks

Long live king Moshiach !
 
$txt->see ('end'); # scroll to bottom of text field
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top