i want to make my text area readonly. is there any way to do that in perl.
any help,appreciate .......
any help,appreciate .......
my $tx= $fr->Scrolled( 'Text', '-scrollbars' => 'e', '-background' => 'white',
)->pack( -fill => 'both', -expand => 1, -side => 'bottom' );
$tx->insert('insert', "characters of line1\n");
$tx->insert('insert',"characters of line2\n"');
$tx->insert('insert',"characters of line3\n");
$tx->insert('insert',"characters of line4\n");
$tx->configure('-state'=> 'disabled'); ## set the state as disabled (non-editable)
Comment