home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.tcl
- Path: sparky!uunet!europa.asd.contel.com!emory!wupost!cs.utexas.edu!convex!news.utdallas.edu!corpgate!crchh327!tdoan
- From: tdoan@bnr.ca (Tuan Doan)
- Subject: Correction for previous post
- Message-ID: <1992Nov14.034920.27921@bnr.ca>
- Keywords: String, Format, List, Insert, TCL/TK
- Sender: news@bnr.ca (News on crchh327)
- Nntp-Posting-Host: crchh404
- Organization: Bell-Northern Research, Richardson, Tx.
- Date: Sat, 14 Nov 1992 03:49:20 GMT
- Lines: 37
-
- Hello,
-
- Please note that the previous posted question
-
- > I am having trouble formatting string inside an entry widget. Consider the
- > following:
- >
- > set info [format "%10s %8s" "$uid" "$pid"]
- >
- > the statement: puts stdout $info does it correctly
- > the statement: .lv1.list insert end "$info" centered $uid and $pid
- >
- > Is there a way to handle format string correctly inside an entry widget?
-
- should be corrected to refer to 'list' NOT 'entry' widget. That is,
-
- I am having trouble formatting string inside a list widget. Consider the
- following:
-
- set info [format "%10s %8s" "$uid" "$pid"]
-
- the statement: puts stdout $info does it correctly
- the statement: .lv1.list insert end "$info" centered $uid and $pid
-
- Is there a way to handle format string correctly inside a list widget?
-
- Too many night shifts. :-)
-
- Regards,
-
- __ __/ / / __ / | / Tuan T. Doan
- / / / / / / | / Advance Signalling Design
- / / / __ / / | / 2201 Lakeside Blvd. P.O. Box 833871
- __/ ______/ __/ __/ __/ __/ Richardson, TX 75083-3871
- Phone: 6-444-4575/214-684-4575
- Internet: tdoan@bnr.ca Fax: 6-444-3716/214-684-3716
- or tdoan@x400gate.bnr.ca
-