how to enlarge columns
Hello everyone, I'd like to enlarge my column with script. How to do it ?
Thank you
ScriptingRe: how to enlarge columnsHere is the example taken from the Scripting Index for the Set Display Width message
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
w = :Height << Get Display Width;
:Height << Set Display Width( 2 * w );
Re: how to enlarge columnsIt turns out that "w" is coming back as zero, so the calculation in the Set Displa Width is zero. Try changing it to something like
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
w = :Height << Get Display Width;
:Height << Set Display Width( 4 * 90 );