Moore, Larry wrote:
> I would like to assign the highlighted portion of a textfield to
> $var. I have the Textfield created with stuff in it but I don't
> see a method which will let me make the assignment.
there is a Selection method that returns the start and end of
the selection. then you just make a substr on the Textfield
($from, $to) = $Textfield->Selection();
$var = substr($Textfield->Text, $from, $to-$from);
$_=q,just perl,,s, , another ,,s,$, hacker,,print;
Get latest updates about Open Source Projects, Conferences and News.