N Nyptop Active Member Licensed User Longtime User Nov 12, 2011 #1 My Problem Is As follows: How can you output what is in an edittext in an msg. For example: If MyNumber = 1 Then Log("Hello world!") Msgbox("Hello World" <edittext.text here>, "Hello world")
My Problem Is As follows: How can you output what is in an edittext in an msg. For example: If MyNumber = 1 Then Log("Hello world!") Msgbox("Hello World" <edittext.text here>, "Hello world")
NJDude Expert Licensed User Longtime User Nov 12, 2011 #2 Like this, assuming you EditText is named "EditText" B4X: Msgbox("Hello World" & edittext.text, "Hello world") Upvote 0
Like this, assuming you EditText is named "EditText" B4X: Msgbox("Hello World" & edittext.text, "Hello world")
N Nyptop Active Member Licensed User Longtime User Nov 12, 2011 #3 thanks, But what is you were to have text either side like this: Msgbox ("hello world" & edittext.text "hello world", "Hello world" Upvote 0
thanks, But what is you were to have text either side like this: Msgbox ("hello world" & edittext.text "hello world", "Hello world"
NJDude Expert Licensed User Longtime User Nov 12, 2011 #4 Nyptop said: thanks, But what is you were to have text either side like this: Msgbox ("hello world" & edittext.text "hello world", "Hello world" Click to expand... You concatenate them using the & symbol B4X: Msgbox ("hello world " & edittext.text & " hello world", "Hello world") Upvote 0
Nyptop said: thanks, But what is you were to have text either side like this: Msgbox ("hello world" & edittext.text "hello world", "Hello world" Click to expand... You concatenate them using the & symbol B4X: Msgbox ("hello world " & edittext.text & " hello world", "Hello world")
N Nyptop Active Member Licensed User Longtime User Nov 12, 2011 #5 Thank you very much you have been an excellent help Upvote 0