Theera Expert Licensed User Longtime User Dec 22, 2024 #1 I can't explain in English, so I do the code as belows. B4X: Private Sub Button1_Click Private Sub Button2_Click Private Sub Button3_Click xui.MsgboxAsync("Have a niceday" , "B4X") End Sub
I can't explain in English, so I do the code as belows. B4X: Private Sub Button1_Click Private Sub Button2_Click Private Sub Button3_Click xui.MsgboxAsync("Have a niceday" , "B4X") End Sub
E emexes Expert Licensed User Longtime User Dec 22, 2024 #2 Set the event handler for Button2 and Button3 to use (call) the Button1 event handler: (I'm having a mental blank on how to work out which of the three buttons called the event handler, but I'm looking into it) refer next post Last edited: Dec 22, 2024
Set the event handler for Button2 and Button3 to use (call) the Button1 event handler: (I'm having a mental blank on how to work out which of the three buttons called the event handler, but I'm looking into it) refer next post
E emexes Expert Licensed User Longtime User Dec 22, 2024 #3 emexes said: (I'm having a mental blank on how to work out which of the three buttons called the event handler, but I'm looking into it) Click to expand... Grok: in programming language b4j, how can I tell which "view" (gui element, control, widget) called an event handler, when multiple views share one event handler?
emexes said: (I'm having a mental blank on how to work out which of the three buttons called the event handler, but I'm looking into it) Click to expand... Grok: in programming language b4j, how can I tell which "view" (gui element, control, widget) called an event handler, when multiple views share one event handler?
Theera Expert Licensed User Longtime User Dec 22, 2024 #4 emexes said: Grok: in programming language b4j, how can I tell which "view" (gui element, control, widget) called an event handler, when multiple views share one event handler? Click to expand... Please allow me to share your thoughts on the Thai forum. Thank you (Google translate)
emexes said: Grok: in programming language b4j, how can I tell which "view" (gui element, control, widget) called an event handler, when multiple views share one event handler? Click to expand... Please allow me to share your thoughts on the Thai forum. Thank you (Google translate)
aeric Expert Licensed User Longtime User Dec 22, 2024 #5 emexes said: Set the event handler for Button2 and Button3 to use (call) the Button1 event handler: (I'm having a mental blank on how to work out which of the three buttons called the event handler, but I'm looking into it) refer next post View attachment 159725 Click to expand... You can put extra information in Tag property.
emexes said: Set the event handler for Button2 and Button3 to use (call) the Button1 event handler: (I'm having a mental blank on how to work out which of the three buttons called the event handler, but I'm looking into it) refer next post View attachment 159725 Click to expand... You can put extra information in Tag property.