in reply to using scrollbars in Perl/Tk

You need to create a scrolled textbox, using Tk::Scrolled. Mark what you need, and then manipulate the scrollbars (through their methods) to display the highlighed text.

(You might also check out Tk::Textbox's own search method which does some of the things that you intend to do).

Replies are listed 'Best First'.
Re: Re: using scrollbars in Perl/Tk
by davidj (Priest) on May 08, 2004 at 22:41 UTC
    Shortly after my post I figured out what I needed to do. The textbox does use the Scrolled method so that wasn't the problem. the Text command I had forgotten was $widget->see('position'). After implementing that it works just like it need it to.