Re: [WINTCL] Need help with TCL iwidget::scrolledtext function
by Brian Griffin other posts by this author
Mar 6 2007 2:13PM messages near this date
Re: [WINTCL] Need help with TCL iwidget::scrolledtext function
|
Re: [WINTCL] info 518
Brian Griffin wrote:
> dcarp wrote:
>
> > I have a working scrolledtext iwidget (TCL extension) which works wonderfully
> > for capturing data through my serial port, COM1 on my PC. Infact, the
> > scrolled data works just like Hyperterm does except for the scrollbar. The
> > scrollbar scrolls up as data streams in, so I have to manually drag the
> > scrollbar down in order to view the most recent data. I noticed that forcing
> > a manual <CR> from the keyboard will do as expected, i.e. keep the scrollbar
> > pointer in the down position for viewing the last data received. I was
> > unable to add a "\xd" (newline) in code to help correct this problem when
> > receiving data through COM1 port. Does anyone have a suggestion for
> > resolving this issue? I've tried various options, but no dice.
> >
> >
>
> After each insert of new text into the window, execute the text widget
> commmand:
>
> $textwindow see end
>
> or
>
> $textwindow see insert
>
> This should move the view so the user "sees" the mark (end or index).
>
That's (end or insert), not index.
> -Brian
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Tcl-win mailing list
> Tcl-win@[...].net
> https://lists.sourceforge.net/lists/listinfo/tcl-win
>
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Tcl-win mailing list
Tcl-win@[...].net
https://lists.sourceforge.net/lists/listinfo/tcl-win
Thread:
Dcarp
Brian Griffin
Brian Griffin
|