I'm running the simple code below and trying to get the selected item from List Box(). But it is giving me error saying:
Name Unresolved: SourceData in access or evaluation of 'SourceData' , SourceData/*###*/
x = {"abc", "cda"};
y={"123","345"};
selection = New Window( "Check",
H List Box(
Panel Box( "Select Database",
radio = Radio Box( All_database_list, HideShowObject( radio ) ),
Button Box( "Get DataBase Filter Column",
_cbFilters << Remove all;
Database_column_type = radio << getSelected;
If( Database_column_type == "AN_CDS",
_cbFilters << Append( x ),
_cbFilters << Append( y )
);
),
),
FilterTxTBox = Text Box( "Columns: " ),
_cbFilters = List Box({" "},width(100),nlines(3),max selected( 1 )),
Button Box("Done", SourceData = _cbFilters << GetSelected;),
show(SourceData)
),
);