There is no Set Size message for a Table Box. However, you can set the size for the columns within the Table Box.
In the example below, I create a Table Box that contains two String Col Boxes. The sizes of the Table Box and String Col Boxes are shown before and after changing the size of the columns.
New Window( "test",
tb = Table Box(
scb1 = String Col Box( "a", {"x", "y", "z"} ),
scb2 = String Col Box( "b", {"1", "2", "3"} )
)
);
Write( "before:" );
Show( tb << Get Size(), scb1 << Get Size(), scb2 << Get Size() );
scb1 << Set Width( 300 );
scb2 << Set Width( 400 );
Wait( 0 ); // Wait for display to update so that get size returns latest size
Write( "\!N\!Nafter:" );
Show( tb << Get Size(), scb1 << Get Size(), scb2 << Get Size() );
Below is the resulting log. Notice how the size of the Table Box is a few pixels larger than the sum of the sizes of the columns it contains.
/*:
before:
tb << Get Size() = {39, 74};
scb1 << Get Size() = {18, 72};
scb2 << Get Size() = {20, 72};
after:
tb << Get Size() = {701, 74};
scb1 << Get Size() = {300, 72};
scb2 << Get Size() = {400, 72};
Justin