Hi @CS13,
I've never had much luck with << Set Width for display boxes for some reason. They never seem to respond to that, even though the log doesn't display an errors.
You could try << New Data Box() instead of << Get As Report, which seems to be more amenable to auto-stretching. Instead of converting the data table to a display box table, it actually inserts the table as an object right into your report. I tried the following and found the PanelBox will grow as large as your window.
bigClass = Data Table( "Big Class" );
summarydt = bigClass << Summary(
Group( :sex ),
N( :height ),
N( :weight ),
Mean( :height ),
Mean( :weight ),
Std Dev( :height ),
Std Dev( :weight ),
Min( :height ),
Min( :weight ),
Max( :height ),
Max( :weight ),
Freq( "None" ),
Weight( "None" )
);
sb = New Window("Testing");
pb1 = Panel Box("Summary Data Table");
my_report = summarydt << New Data Box();
//my_report = summarydt << Get As Report;
pb1 << Append( my_report );
sb << Append( pb1 );
I don't know if this is compatible with what you want to do, but thought it might help.
-- Cameron Willden