I'm not sure 'why' you are using an entry in the first place? It sounds as
if you only want to show the user the last line of a file (but not
necessarily let them edit the entry - is that correct?). If that is indeed
the case, then consider using a Label with -textvariable.

If you still want to use Entry:

sub update_entry{
        my ($entry,$message)=@_;
        $entry->delete(0,'end');
        $entry->insert('end',$message);
        $entry->update; 
}

Jack



-----Original Message-----
From: Jorge Goncalvez [mailto:[EMAIL PROTECTED]]
How can I update 
dynamically my EntryBoxes when my file is modified?
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Reply via email to