home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.tcl
- Path: sparky!uunet!uunet.ca!choreo!news
- From: news@choreo.ca (Choreo NetNews Administration Account(Ottawa))
- Subject: re: making a listbox wider
- X-Disclaimer: This news article was written by an employee or customer of
- Choreo Systems Inc., and does not necessarily reflect the
- opinions or views of the Managament of Choreo Systems Inc.
- Organization: Choreo Systems, Ottawa Canada
- Date: Tue, 29 Dec 1992 20:06:48 GMT
- Message-ID: <1992Dec29.200648.2598@choreo.ca>
- Lines: 13
-
- I read earlier today that David Herron suggested using a vairable to store
- the length of the strings, and to use the maximum as the width for a gemorty
- statement.
-
- OK, so I have this on the line where I create the listbox
-
- -geometry $maxlenx10
-
- but tcl complains that it can't read $maxlenx10. How I tell tcl that
- $maxlen is the name of the variable? Is there a construct similar to
- ${name} in the shell?
-
- Thanks!
-