Theera Well-Known Member Licensed User Longtime User Sunday at 7:56 AM #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 Sunday at 8:53 AM #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: Sunday at 9:03 AM
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 Sunday at 9:00 AM #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 Well-Known Member Licensed User Longtime User Sunday at 9:22 AM #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 Sunday at 2:29 PM #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.