F forisco70 Member Apr 16, 2024 #1 Hi! In my code, the TextChanged event of an EditText don't raises! Here my code: B4X: Copy Private Sub edtDate_TextChanged (Old As String, New As String) MsgboxAsync(Old & "#" & New, "aaa") End Sub Where am I doing wrong?
Hi! In my code, the TextChanged event of an EditText don't raises! Here my code: B4X: Copy Private Sub edtDate_TextChanged (Old As String, New As String) MsgboxAsync(Old & "#" & New, "aaa") End Sub Where am I doing wrong?
F forisco70 Member Apr 16, 2024 #2 Rookie mistake! I wrote this code in a wrong module! Bye! Upvote 0
Alexander Stolte Expert Licensed User Longtime User Apr 17, 2024 #3 forisco70 said: Where am I doing wrong? Click to expand... We would not have been able to help you with the information you provided. Please always attach an example project so that we can see what you are doing and what is going wrong. forisco70 said: I wrote this code in a wrong module Click to expand... That's true. Upvote 0
forisco70 said: Where am I doing wrong? Click to expand... We would not have been able to help you with the information you provided. Please always attach an example project so that we can see what you are doing and what is going wrong. forisco70 said: I wrote this code in a wrong module Click to expand... That's true.
mangojack Expert Licensed User Longtime User Apr 18, 2024 #4 forisco70 said: Where am I doing wrong? Click to expand... Further to @Alexander Stolte 's advice, Avoid Msgbox when debugging , better to use Log( .... ) Code: Copy Log(Old & "#" & New) You might also find this interesting. [B4X] Smart String Literal The "smart string" literal is a more powerful version of the standard string literal. It has three advantages: Supports multi-line strings. No need to escape quotes. Supports string interpolation. The smart string literal starts with $" and ends with "$. Examples: Dim s As String = $"Hello... www.b4x.com Upvote 0
forisco70 said: Where am I doing wrong? Click to expand... Further to @Alexander Stolte 's advice, Avoid Msgbox when debugging , better to use Log( .... ) Code: Copy Log(Old & "#" & New) You might also find this interesting. [B4X] Smart String Literal The "smart string" literal is a more powerful version of the standard string literal. It has three advantages: Supports multi-line strings. No need to escape quotes. Supports string interpolation. The smart string literal starts with $" and ends with "$. Examples: Dim s As String = $"Hello... www.b4x.com