All,
I have a m by n Table box of check boxes. I am wondering, how I can set some of them selected.
LB_b = Lineup Box(N Col(1));
nR = 10;
nC = 10;
SCB1 = String Col Box( "", {} );
For( i = 1, i <= nR, i++,
SCB1 << Add Element( Char( i ) )
);
TB1 = Table Box( SCB1 );
For( i = 1, i <= nC, i++,
Insert Into( TB1, Check Box( Repeat( {" "}, nR ), <<Set Heading( Char( i ) ) ) )
);
LB_b << Append(TB1);
T = New Window("Test",TB1); When I look at the tree structure, I wonder why I am unable to access the elements. I tried something like the following with no luck. Also, the goal is not to be able to select a column of check boxes, but a single checkbox in the matrix.
TB1["CheckBoxBox(1)"] << select ; <BR />