Sai Main Seng Kham Member Licensed User Jul 24, 2019 #1 I have declare my edittext in other sub. because i make the home page of app with (Sub Homeview .....End Sub) I declare edittext in HomeView Sub. I made a clickable Buttom and how can i get the text from edittext (Edittext.text) when user click the Buttom.
I have declare my edittext in other sub. because i make the home page of app with (Sub Homeview .....End Sub) I declare edittext in HomeView Sub. I made a clickable Buttom and how can i get the text from edittext (Edittext.text) when user click the Buttom.
Kwame Twum Active Member Licensed User Longtime User Jul 24, 2019 #2 You can only access the EditText's text property in the sub within which you created it (Homeview in your case). What's stopping you from declaring it in the Globals sub by the way? Upvote 0
You can only access the EditText's text property in the sub within which you created it (Homeview in your case). What's stopping you from declaring it in the Globals sub by the way?