home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / tcl / 2265 < prev    next >
Encoding:
Text File  |  1992-12-29  |  947 b   |  26 lines

  1. Newsgroups: comp.lang.tcl
  2. Path: sparky!uunet!uunet.ca!choreo!news
  3. From: news@choreo.ca (Choreo NetNews Administration Account(Ottawa))
  4. Subject: re: making a listbox wider
  5. X-Disclaimer:  This news article was written by an employee or customer of
  6.                Choreo Systems Inc., and does not necessarily reflect the
  7.                opinions or views of the Managament of Choreo Systems Inc.
  8. Organization: Choreo Systems, Ottawa Canada
  9. Date: Tue, 29 Dec 1992 20:06:48 GMT
  10. Message-ID: <1992Dec29.200648.2598@choreo.ca>
  11. Lines: 13
  12.  
  13. I read earlier today that David Herron suggested using a vairable to store
  14. the length of the strings, and to use the maximum as the width for a gemorty
  15. statement.
  16.  
  17. OK, so I have this on the line where I create the listbox
  18.  
  19.     -geometry $maxlenx10
  20.  
  21. but tcl complains that it can't read $maxlenx10.  How I tell tcl that
  22. $maxlen is the name of the variable?  Is there a construct similar to
  23. ${name} in the shell?
  24.  
  25. Thanks!
  26.