Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: long variable names and the browse/edit window


From   Kevin Geraghty <kevin@ecotope.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: long variable names and the browse/edit window
Date   Thu, 9 Dec 2010 09:16:40 -0800 (PST)

Is there any way to dynamically resize column widths in the browse/edit window so that they display long variable names (stata permits variable names up to 32 characters), instead of truncating them with a ~?  The columns appear to size dynamically according to the width of variable data, but not with the width of the variable names. 

So in fact if a variable is, say, str50, its name will never be truncated; one can in fact always eliminate variable name truncation for numeric variables by lengthening the display format for the variable in question, to, e.g. %25.0f. 

I suppose one could create an .ado file command, e.g "wbrowse" which compared display format lengths with variable name lengths of all variables to be displayed, and lengthened the formats to be as wide as the variable name, before browsing/editing; but that seems a little drastic.

An annoying quirk, I am sure I am not the only person who has been frustrated by it.

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index