I merged two window using Tab Box() as shown by following code. But is making some of the button box not functional. They work fine in individual box. Any idea what the object reference get missing?
Clear Log();
main_window_app_path = Substr( Get Default Directory(), 2, 999 );
main_window_app_path = Substitute( main_window_app_path, "/", "\" );
Show( main_window_app_path );
Set Path Variable( "root", main_window_app_path );
Include( "$root/System/DataAnalysisGUI_Mongo.jsl" );
Include( "$root/System/DataAnalysisGUI_SMV.jsl" );
Include( "$root/System/GUI_Files/Lists.jsl" );
Include( "$root/System/GUI_Files/HelperFunctions.jsl" );
Include( "$root/System/Common/GetDataFromSQLorCSV.jsl" );
Include( "$root/System/Common/wrapper_mongo_data_pull.jsl" );
//********main window****************//
DAGui = New Window( "Database Query",
bb = Border Box( Left( 10 ), Right( 10 ), Top( 10 ), Bottom( 5 ), Sides( 15 ),
V List Box(
Text Box( "GUI to Pull-data from both MongoDB and AVcloud", set font size(10) ),
tb = Text Box( "pre-req: JMP14 and run install_pkg.bat"),
tb << Font Color("yellow") << background color("red") << border(1);
Text Box( "More info: http://goto/jmp_ui"),
Spacer Box( Size( 10, 10 ) ),
H List Box( Tab Box( "MongoDB", Mongo_data, "AvcloudDB", SMV_data ), )
)
),
);
//SMV_data << Close Window();
//Mongo_data << Close Window();
bb << Set Color( "black" );

Below is Mongo tab window individually.
