Because of the specifics on the Col List Box(), what I find the best, and maybe the only way to handle the replacement of the data table associated with the object, is to delete the object and to replace it.
Names Default To Here( 1 );
QorvoPE_Select_Table = Function( {},
table_list = {};
For( t = 1, t <= N Table(), t++,
Insert Into( table_list, Data Table( t ) << get name )
);
QorvoPE_Select_Table_dlg = New Window( "Select Data Table For Limit Calculation. ",
<<modal,
<<return result,
Panel Box( "Select Table and columns",
select_table = Combo Box(
table_list,
table = select_table << get selected();
data col clb# << delete;
MYHLB << append(
data col clb# = Col List Box( Data Table( select_table << get selected ), all )
);
),
MYHLB = H List Box(
data col clb# = Col List Box( Data Table( select_table << get selected ), all ),
)
)
);
);
QorvoPE_Select_Table;
Jim