#### Top button at top of screen Register MsgAction("!help",MA_help); Sub MA_help() openPrivButton( "buttontop",33,73,13,5,5,-1,96," ^6!top",MA_tpick ); EndSub ##### Sub routine when click on Top button Register MsgAction("!tpick",MA_tpick); Sub MA_tpick() closePrivButton("buttontop"); openPrivButton( "UF1_button",50,25,10,5,2,-1,16,"^2UF1",Click_UF1 ); openPrivButton( "XFG_button",60,25,10,5,2,-1,16,"^2XFG",Click_XFG ); openPrivButton( "XRG_button",70,25,10,5,2,-1,16,"^2XRG",Click_XRG ); openPrivButton( "XRT_button",80,25,10,5,2,-1,16,"^2XRT",Click_XRT ); openPrivButton( "RB4_button",90,25,10,5,2,-1,16,"^2RB4",Click_RB4 ); openPrivButton( "FXO_button",100,25,10,5,2,-1,16,"^2FXO",Click_FXO ); openPrivButton( "RAC_button",110,25,10,5,2,-1,16,"^2RAC",Click_RAC ); openPrivButton( "FZ5_button",120,25,10,5,2,-1,16,"^2FZ5",Click_FZ5 ); openPrivButton( "LX4_button",130,25,10,5,2,-1,16,"^2LX4",Click_LX4 ); openPrivButton( "LX6_button",140,25,10,5,2,-1,16,"^2LX6",Click_LX6 ); openPrivButton( "MRT_button",50,30,10,5,2,-1,16,"^2MRT",Click_MRT ); openPrivButton( "UFR_button",60,30,10,5,2,-1,16,"^2UFR",Click_UFR ); openPrivButton( "XFR_button",70,30,10,5,2,-1,16,"^2XFR",Click_XFR ); openPrivButton( "FBM_button",80,30,10,5,2,-1,16,"^2FBM",Click_FBM ); openPrivButton( "FOX_button",90,30,10,5,2,-1,16,"^2FOX",Click_FOX ); openPrivButton( "FXR_button",100,30,10,5,2,-1,16,"^2FXR",Click_FXR ); openPrivButton( "XRR_button",110,30,10,5,2,-1,16,"^2XRR",Click_XRR ); openPrivButton( "FZR_button",120,30,10,5,2,-1,16,"^2FZR",Click_FZR ); openPrivButton( "FO8_button",130,30,10,5,2,-1,16,"^2FO8",Click_FO8 ); openPrivButton( "BF1_button",140,30,10,5,2,-1,16,"^2BF1",Click_BF1 ); openPrivButton( "Ctpick",150,25,12,5,5,-1,32,"^1<- ^3CLOSE",Close_tpick ); openPrivButton( "Ctpick1",150,30,12,5,5,-1,32,"^1<- ^3ROWS",Close_tpick ); EndSub #Register MsgAction("ctpick",Close_tpick); Sub Close_tpick() closePrivButton("UF1_button&XFG_button&XRG_button&XRT_button&RB4_button&FXO_button&RAC_button&FZ5_button&LX4_button&LX6_button&MRT_button&UFR_button&XFR_button&XFR_button&FBM_button&FOX_button&FXR_button&XRR_button&FZR_button&FO8_button&BF1_button&Ctpick&Ctpick1"); EndSub #### Sub routines called when click on car type Register MsgAction("!UF1",Click_UF1); Sub Click_UF1() closePrivButton("XFG&XRG&XRT&RB4&FXO&RAC&FZ5&LX4&LX6&MRT&UFR&XFR&XFR&FBM&FOX&FXR&XRR&FZR&FO8&BF1"); top ( UF1 ); EndSub Register MsgAction("!XFG",Click_XFG); Sub Click_XFG() closePrivButton("UF1&&XRG&XRT&RB4&FXO&RAC&FZ5&LX4&LX6&MRT&UFR&XFR&XFR&FBM&FOX&FXR&XRR&FZR&FO8&BF1"); top ( XFG ); EndSub Register MsgAction("!XRG",Click_XRG); Sub Click_XRG() closePrivButton("UF1&XFG&XRT&RB4&FXO&RAC&FZ5&LX4&LX6&MRT&UFR&XFR&XFR&FBM&FOX&FXR&XRR&FZR&FO8&BF1"); top ( XRG ); EndSub Register MsgAction("!XRT",Click_XRT); Sub Click_XRT() closePrivButton("UF1&XFG&XRG&RB4&FXO&RAC&FZ5&LX4&LX6&MRT&UFR&XFR&XFR&FBM&FOX&FXR&XRR&FZR&FO8&BF1"); top ( XRT ); EndSub Register MsgAction("!RB4",Click_RB4); Sub Click_RB4() closePrivButton("UF1&XFG&XRG&XRT&FXO&RAC&FZ5&LX4&LX6&MRT&UFR&XFR&XFR&FBM&FOX&FXR&XRR&FZR&FO8&BF1"); top ( RB4 ); EndSub Register MsgAction("!FXO",Click_FXO); Sub Click_FXO() closePrivButton("UF1&XFG&XRG&XRT&RB4&RAC&FZ5&LX4&LX6&MRT&UFR&XFR&XFR&FBM&FOX&FXR&XRR&FZR&FO8&BF1"); top ( FXO ); EndSub Register MsgAction("!RAC",Click_RAC); Sub Click_RAC() closePrivButton("UF1&XFG&XRG&XRT&RB4&FXO&FZ5&LX4&LX6&MRT&UFR&XFR&XFR&FBM&FOX&FXR&XRR&FZR&FO8&BF1"); top ( RAC ); EndSub Register MsgAction("!FZ5",Click_FZ5); Sub Click_FZ5() closePrivButton("UF1&XFG&XRG&XRT&RB4&FXO&RAC&LX4&LX6&MRT&UFR&XFR&XFR&FBM&FOX&FXR&XRR&FZR&FO8&BF1"); top ( FZ5 ); EndSub Register MsgAction("!LX4",Click_LX4); Sub Click_LX4() closePrivButton("UF1&XFG&XRG&XRT&RB4&FXO&RAC&FZ5&LX6&MRT&UFR&XFR&XFR&FBM&FOX&FXR&XRR&FZR&FO8&BF1"); top ( LX4 ); EndSub Register MsgAction("!LX6",Click_LX6); Sub Click_LX6() closePrivButton("UF1&XFG&XRG&XRT&RB4&FXO&RAC&FZ5&LX4&MRT&UFR&XFR&XFR&FBM&FOX&FXR&XRR&FZR&FO8&BF1"); top ( LX6 ); EndSub Register MsgAction("!MRT",Click_MRT); Sub Click_MRT() closePrivButton("UF1&XFG&XRG&XRT&RB4&FXO&RAC&FZ5&LX4&LX6&UFR&XFR&XFR&FBM&FOX&FXR&XRR&FZR&FO8&BF1"); top ( MRT ); EndSub Register MsgAction("!UFR",Click_UFR); Sub Click_UFR() closePrivButton("UF1&XFG&XRG&XRT&RB4&FXO&RAC&FZ5&LX4&LX6&MRT&XFR&XFR&FBM&FOX&FXR&XRR&FZR&FO8&BF1"); top ( UFR ); EndSub Register MsgAction("!XFR",Click_XFR); Sub Click_XFR() closePrivButton("UF1&XFG&XRG&XRT&RB4&FXO&RAC&FZ5&LX4&LX6&MRT&UFR&XFR&FBM&FOX&FXR&XRR&FZR&FO8&BF1"); top ( XFR ); EndSub Register MsgAction("!FBM",Click_FBM); Sub Click_FBM() closePrivButton("UF1&XFG&XRG&XRT&RB4&FXO&RAC&FZ5&LX4&LX6&MRT&UFR&XFR&XFR&FOX&FXR&XRR&FZR&FO8&BF1"); top ( FBM ); EndSub Register MsgAction("!FOX",Click_FOX); Sub Click_FOX() closePrivButton("UF1&XFG&XRG&XRT&RB4&FXO&RAC&FZ5&LX4&LX6&MRT&UFR&XFR&XFR&FBM&FXR&XRR&FZR&FO8&BF1"); top ( FOX ); EndSub Register MsgAction("!FXR",Click_FXR); Sub Click_FXR() closePrivButton("UF1&XFG&XRG&XRT&RB4&FXO&RAC&FZ5&LX4&LX6&MRT&UFR&XFR&XFR&FBM&FOX&XRR&FZR&FO8&BF1"); top ( FXR ); EndSub Register MsgAction("!XRR",Click_XRR); Sub Click_XRR() closePrivButton("UF1&XFG&XRG&XRT&RB4&FXO&RAC&FZ5&LX4&LX6&MRT&UFR&XFR&XFR&FBM&FOX&FXR&FZR&FO8&BF1"); top ( XRR ); EndSub Register MsgAction("!FZR",Click_FZR); Sub Click_FZR() closePrivButton("UF1&XFG&XRG&XRT&RB4&FXO&RAC&FZ5&LX4&LX6&MRT&UFR&XFR&XFR&FBM&FOX&FXR&XRR&FO8&BF1"); top ( FZR ); EndSub Register MsgAction("!FO8",Click_FO8); Sub Click_FO8() closePrivButton("UF1&XFG&XRG&XRT&RB4&FXO&RAC&FZ5&LX4&LX6&MRT&UFR&XFR&XFR&FBM&FOX&FXR&XRR&FZR&BF1"); top ( FO8 ); EndSub Register MsgAction("!BF1",Click_BF1); Sub Click_BF1() closePrivButton("UF1&XFG&XRG&XRT&RB4&FXO&RAC&FZ5&LX4&LX6&MRT&UFR&XFR&XFR&FBM&FOX&FXR&XRR&FZR&FO8"); top ( BF1 ); EndSub