hub73 Active Member Licensed User Longtime User Apr 10, 2016 #1 Hi ! i've this code inside my main activity module : Main B4X: Sub Afficher_infos_formulaire (Texte As String) lbl_message.Text = Texte End Sub from my code module how to access to the sub ? B4X: Main.Afficher_infos_formulaire ("Test") not work ! Should declare something for Afficher_infos_formulaire to share it ? Thanks.
Hi ! i've this code inside my main activity module : Main B4X: Sub Afficher_infos_formulaire (Texte As String) lbl_message.Text = Texte End Sub from my code module how to access to the sub ? B4X: Main.Afficher_infos_formulaire ("Test") not work ! Should declare something for Afficher_infos_formulaire to share it ? Thanks.
JTmartins Active Member Licensed User Longtime User Apr 10, 2016 #2 Try B4X: callsub2 (Main,"Afficher_infos_formulaire","Test") Upvote 0