How to find the text of a clicked Button in one single statement?










1














So, basically, I'm programming this virtual keyboard, and I have to write code individually for each key, which are Buttons.

This is ridiculously tedious and I was wondering if there was maybe one single statement that could find the text of the key (Button) pressed.



My current code is like this:



textbox.TextBox1.Text = textbox.TextBox1.Text + zh.Text


zh is the name of a Button, for context.



Now, I have to copy and paste this string of code over and over in each Button's Click event.

I would think that there is a way to have the code grab the text of whatever Button I press, then send that text to the TextBox.



If this is indeed possible, would anyone know how to do it?










share|improve this question




























    1














    So, basically, I'm programming this virtual keyboard, and I have to write code individually for each key, which are Buttons.

    This is ridiculously tedious and I was wondering if there was maybe one single statement that could find the text of the key (Button) pressed.



    My current code is like this:



    textbox.TextBox1.Text = textbox.TextBox1.Text + zh.Text


    zh is the name of a Button, for context.



    Now, I have to copy and paste this string of code over and over in each Button's Click event.

    I would think that there is a way to have the code grab the text of whatever Button I press, then send that text to the TextBox.



    If this is indeed possible, would anyone know how to do it?










    share|improve this question


























      1












      1








      1







      So, basically, I'm programming this virtual keyboard, and I have to write code individually for each key, which are Buttons.

      This is ridiculously tedious and I was wondering if there was maybe one single statement that could find the text of the key (Button) pressed.



      My current code is like this:



      textbox.TextBox1.Text = textbox.TextBox1.Text + zh.Text


      zh is the name of a Button, for context.



      Now, I have to copy and paste this string of code over and over in each Button's Click event.

      I would think that there is a way to have the code grab the text of whatever Button I press, then send that text to the TextBox.



      If this is indeed possible, would anyone know how to do it?










      share|improve this question















      So, basically, I'm programming this virtual keyboard, and I have to write code individually for each key, which are Buttons.

      This is ridiculously tedious and I was wondering if there was maybe one single statement that could find the text of the key (Button) pressed.



      My current code is like this:



      textbox.TextBox1.Text = textbox.TextBox1.Text + zh.Text


      zh is the name of a Button, for context.



      Now, I have to copy and paste this string of code over and over in each Button's Click event.

      I would think that there is a way to have the code grab the text of whatever Button I press, then send that text to the TextBox.



      If this is indeed possible, would anyone know how to do it?







      vb.net winforms






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 10 '18 at 19:10









      Jimi

      7,24741733




      7,24741733










      asked Nov 10 '18 at 16:37









      w60w60

      165




      165






















          1 Answer
          1






          active

          oldest

          votes


















          2














          Method 1:

          Using the Designer, assign a single Click event to all your Buttons, then use the sender object, casting it to Button or Control:



          Private Sub MyKeys_Click(sender As Object, e As EventArgs) Handles MyKeysA.Click, MyKeysB.Click, (...)
          TextBox1.AppendText(CType(sender, Button).Text)
          End Sub


          But the final event handler will have a lot of Buttons references attached to it.
          Not a beauty.



          Method 2:

          Create an event handler in code and assign it to all of your Buttons, using a classic delegate, with
          AddHandler [Event], AddressOf [HandlerMethodName]



          Assume that your Buttons have a common partial name, here "btnKey".

          You could also use the Tag property and assign it a specific value(s) for your Keys Buttons.

          You would then write in Where(): b.Tag.ToString().Contains("[Some Common Identifier]").




          Note that the Tag property value is of type object, so
          Contains() is just a generic example. It could evaluate to an
          Integer type or anything else.




          Note 1: To assign a common identifier to all the Keys Buttons, you can use the Form Designer: select all the Buttons and use the Properties Window to change the Tag property of all the selected Buttons.



          Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
          For Each btn As Button In Me.Controls.OfType(Of Button).Where(Function(b) b.Name.Contains("btnKey"))
          AddHandler btn.Click, AddressOf Me.MyKeys_Click
          Next
          End Sub

          Private Sub MyKeys_Click(sender As Object, e As EventArgs)
          TextBox1.AppendText(DirectCast(sender, Control).Text)
          End Sub


          Note 2:

          As Andrew Morton suggested in the comments, here the cast is performed using the DirectCast() operator. Since sender is a Button and also Button derives from Control, you can use the light-weight DirectCast() to see sender as a Button or as a Control (since Button derives from Control and the Text property is inherited from Control) and access its .Text property.




          From the Docs:

          [DirectCast()] (...) it can provide somewhat better performance than CType
          when converting to and from data type Object.




          I'm leaving CType() in the first example as a visual aide.



          Difference between DirectCast() and CType() in VB.NET



          Method 3:

          Create an event handler in code and assign it to all of your Buttons using a Lambda as a method delegate:



          Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
          For Each btn As Button In Me.Controls.OfType(Of Button).Where(Function(b) b.Name.Contains("btnKey"))
          AddHandler btn.Click, Sub() TextBox1.AppendText(btn.Text)
          Next
          End Sub





          share|improve this answer


















          • 1




            You might as well use DirectCast instead of CType because you already know that they are buttons. Further reading: Difference between DirectCast() and CType() in VB.NET.
            – Andrew Morton
            Nov 10 '18 at 17:33










          • @Andrew Morton Hmm, yes, it's worth mentioning, since it'll work casting to both Button and Control here. I'll link the link :)
            – Jimi
            Nov 10 '18 at 17:40






          • 1




            @Jimi What is textbox in textbox.TextBox1 used in all three methods?
            – Mary
            Nov 10 '18 at 23:45










          • @Mary I'm not sure. You should ask the OP, it's in the question's code snippet. Maybe, it's just the Form container Name (is it a text editor Form?), or another container control. I just followed the existing pattern. But this is probably not a great idea, in a more generic use case scenario (also because, apparently, generates the question what's that for?). I'm removing it.
            – Jimi
            Nov 11 '18 at 3:00










          • @Jimi Thanks, I was pasting it into my code bank and was wondering.
            – Mary
            Nov 11 '18 at 3:25










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53241062%2fhow-to-find-the-text-of-a-clicked-button-in-one-single-statement%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          2














          Method 1:

          Using the Designer, assign a single Click event to all your Buttons, then use the sender object, casting it to Button or Control:



          Private Sub MyKeys_Click(sender As Object, e As EventArgs) Handles MyKeysA.Click, MyKeysB.Click, (...)
          TextBox1.AppendText(CType(sender, Button).Text)
          End Sub


          But the final event handler will have a lot of Buttons references attached to it.
          Not a beauty.



          Method 2:

          Create an event handler in code and assign it to all of your Buttons, using a classic delegate, with
          AddHandler [Event], AddressOf [HandlerMethodName]



          Assume that your Buttons have a common partial name, here "btnKey".

          You could also use the Tag property and assign it a specific value(s) for your Keys Buttons.

          You would then write in Where(): b.Tag.ToString().Contains("[Some Common Identifier]").




          Note that the Tag property value is of type object, so
          Contains() is just a generic example. It could evaluate to an
          Integer type or anything else.




          Note 1: To assign a common identifier to all the Keys Buttons, you can use the Form Designer: select all the Buttons and use the Properties Window to change the Tag property of all the selected Buttons.



          Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
          For Each btn As Button In Me.Controls.OfType(Of Button).Where(Function(b) b.Name.Contains("btnKey"))
          AddHandler btn.Click, AddressOf Me.MyKeys_Click
          Next
          End Sub

          Private Sub MyKeys_Click(sender As Object, e As EventArgs)
          TextBox1.AppendText(DirectCast(sender, Control).Text)
          End Sub


          Note 2:

          As Andrew Morton suggested in the comments, here the cast is performed using the DirectCast() operator. Since sender is a Button and also Button derives from Control, you can use the light-weight DirectCast() to see sender as a Button or as a Control (since Button derives from Control and the Text property is inherited from Control) and access its .Text property.




          From the Docs:

          [DirectCast()] (...) it can provide somewhat better performance than CType
          when converting to and from data type Object.




          I'm leaving CType() in the first example as a visual aide.



          Difference between DirectCast() and CType() in VB.NET



          Method 3:

          Create an event handler in code and assign it to all of your Buttons using a Lambda as a method delegate:



          Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
          For Each btn As Button In Me.Controls.OfType(Of Button).Where(Function(b) b.Name.Contains("btnKey"))
          AddHandler btn.Click, Sub() TextBox1.AppendText(btn.Text)
          Next
          End Sub





          share|improve this answer


















          • 1




            You might as well use DirectCast instead of CType because you already know that they are buttons. Further reading: Difference between DirectCast() and CType() in VB.NET.
            – Andrew Morton
            Nov 10 '18 at 17:33










          • @Andrew Morton Hmm, yes, it's worth mentioning, since it'll work casting to both Button and Control here. I'll link the link :)
            – Jimi
            Nov 10 '18 at 17:40






          • 1




            @Jimi What is textbox in textbox.TextBox1 used in all three methods?
            – Mary
            Nov 10 '18 at 23:45










          • @Mary I'm not sure. You should ask the OP, it's in the question's code snippet. Maybe, it's just the Form container Name (is it a text editor Form?), or another container control. I just followed the existing pattern. But this is probably not a great idea, in a more generic use case scenario (also because, apparently, generates the question what's that for?). I'm removing it.
            – Jimi
            Nov 11 '18 at 3:00










          • @Jimi Thanks, I was pasting it into my code bank and was wondering.
            – Mary
            Nov 11 '18 at 3:25















          2














          Method 1:

          Using the Designer, assign a single Click event to all your Buttons, then use the sender object, casting it to Button or Control:



          Private Sub MyKeys_Click(sender As Object, e As EventArgs) Handles MyKeysA.Click, MyKeysB.Click, (...)
          TextBox1.AppendText(CType(sender, Button).Text)
          End Sub


          But the final event handler will have a lot of Buttons references attached to it.
          Not a beauty.



          Method 2:

          Create an event handler in code and assign it to all of your Buttons, using a classic delegate, with
          AddHandler [Event], AddressOf [HandlerMethodName]



          Assume that your Buttons have a common partial name, here "btnKey".

          You could also use the Tag property and assign it a specific value(s) for your Keys Buttons.

          You would then write in Where(): b.Tag.ToString().Contains("[Some Common Identifier]").




          Note that the Tag property value is of type object, so
          Contains() is just a generic example. It could evaluate to an
          Integer type or anything else.




          Note 1: To assign a common identifier to all the Keys Buttons, you can use the Form Designer: select all the Buttons and use the Properties Window to change the Tag property of all the selected Buttons.



          Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
          For Each btn As Button In Me.Controls.OfType(Of Button).Where(Function(b) b.Name.Contains("btnKey"))
          AddHandler btn.Click, AddressOf Me.MyKeys_Click
          Next
          End Sub

          Private Sub MyKeys_Click(sender As Object, e As EventArgs)
          TextBox1.AppendText(DirectCast(sender, Control).Text)
          End Sub


          Note 2:

          As Andrew Morton suggested in the comments, here the cast is performed using the DirectCast() operator. Since sender is a Button and also Button derives from Control, you can use the light-weight DirectCast() to see sender as a Button or as a Control (since Button derives from Control and the Text property is inherited from Control) and access its .Text property.




          From the Docs:

          [DirectCast()] (...) it can provide somewhat better performance than CType
          when converting to and from data type Object.




          I'm leaving CType() in the first example as a visual aide.



          Difference between DirectCast() and CType() in VB.NET



          Method 3:

          Create an event handler in code and assign it to all of your Buttons using a Lambda as a method delegate:



          Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
          For Each btn As Button In Me.Controls.OfType(Of Button).Where(Function(b) b.Name.Contains("btnKey"))
          AddHandler btn.Click, Sub() TextBox1.AppendText(btn.Text)
          Next
          End Sub





          share|improve this answer


















          • 1




            You might as well use DirectCast instead of CType because you already know that they are buttons. Further reading: Difference between DirectCast() and CType() in VB.NET.
            – Andrew Morton
            Nov 10 '18 at 17:33










          • @Andrew Morton Hmm, yes, it's worth mentioning, since it'll work casting to both Button and Control here. I'll link the link :)
            – Jimi
            Nov 10 '18 at 17:40






          • 1




            @Jimi What is textbox in textbox.TextBox1 used in all three methods?
            – Mary
            Nov 10 '18 at 23:45










          • @Mary I'm not sure. You should ask the OP, it's in the question's code snippet. Maybe, it's just the Form container Name (is it a text editor Form?), or another container control. I just followed the existing pattern. But this is probably not a great idea, in a more generic use case scenario (also because, apparently, generates the question what's that for?). I'm removing it.
            – Jimi
            Nov 11 '18 at 3:00










          • @Jimi Thanks, I was pasting it into my code bank and was wondering.
            – Mary
            Nov 11 '18 at 3:25













          2












          2








          2






          Method 1:

          Using the Designer, assign a single Click event to all your Buttons, then use the sender object, casting it to Button or Control:



          Private Sub MyKeys_Click(sender As Object, e As EventArgs) Handles MyKeysA.Click, MyKeysB.Click, (...)
          TextBox1.AppendText(CType(sender, Button).Text)
          End Sub


          But the final event handler will have a lot of Buttons references attached to it.
          Not a beauty.



          Method 2:

          Create an event handler in code and assign it to all of your Buttons, using a classic delegate, with
          AddHandler [Event], AddressOf [HandlerMethodName]



          Assume that your Buttons have a common partial name, here "btnKey".

          You could also use the Tag property and assign it a specific value(s) for your Keys Buttons.

          You would then write in Where(): b.Tag.ToString().Contains("[Some Common Identifier]").




          Note that the Tag property value is of type object, so
          Contains() is just a generic example. It could evaluate to an
          Integer type or anything else.




          Note 1: To assign a common identifier to all the Keys Buttons, you can use the Form Designer: select all the Buttons and use the Properties Window to change the Tag property of all the selected Buttons.



          Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
          For Each btn As Button In Me.Controls.OfType(Of Button).Where(Function(b) b.Name.Contains("btnKey"))
          AddHandler btn.Click, AddressOf Me.MyKeys_Click
          Next
          End Sub

          Private Sub MyKeys_Click(sender As Object, e As EventArgs)
          TextBox1.AppendText(DirectCast(sender, Control).Text)
          End Sub


          Note 2:

          As Andrew Morton suggested in the comments, here the cast is performed using the DirectCast() operator. Since sender is a Button and also Button derives from Control, you can use the light-weight DirectCast() to see sender as a Button or as a Control (since Button derives from Control and the Text property is inherited from Control) and access its .Text property.




          From the Docs:

          [DirectCast()] (...) it can provide somewhat better performance than CType
          when converting to and from data type Object.




          I'm leaving CType() in the first example as a visual aide.



          Difference between DirectCast() and CType() in VB.NET



          Method 3:

          Create an event handler in code and assign it to all of your Buttons using a Lambda as a method delegate:



          Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
          For Each btn As Button In Me.Controls.OfType(Of Button).Where(Function(b) b.Name.Contains("btnKey"))
          AddHandler btn.Click, Sub() TextBox1.AppendText(btn.Text)
          Next
          End Sub





          share|improve this answer














          Method 1:

          Using the Designer, assign a single Click event to all your Buttons, then use the sender object, casting it to Button or Control:



          Private Sub MyKeys_Click(sender As Object, e As EventArgs) Handles MyKeysA.Click, MyKeysB.Click, (...)
          TextBox1.AppendText(CType(sender, Button).Text)
          End Sub


          But the final event handler will have a lot of Buttons references attached to it.
          Not a beauty.



          Method 2:

          Create an event handler in code and assign it to all of your Buttons, using a classic delegate, with
          AddHandler [Event], AddressOf [HandlerMethodName]



          Assume that your Buttons have a common partial name, here "btnKey".

          You could also use the Tag property and assign it a specific value(s) for your Keys Buttons.

          You would then write in Where(): b.Tag.ToString().Contains("[Some Common Identifier]").




          Note that the Tag property value is of type object, so
          Contains() is just a generic example. It could evaluate to an
          Integer type or anything else.




          Note 1: To assign a common identifier to all the Keys Buttons, you can use the Form Designer: select all the Buttons and use the Properties Window to change the Tag property of all the selected Buttons.



          Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
          For Each btn As Button In Me.Controls.OfType(Of Button).Where(Function(b) b.Name.Contains("btnKey"))
          AddHandler btn.Click, AddressOf Me.MyKeys_Click
          Next
          End Sub

          Private Sub MyKeys_Click(sender As Object, e As EventArgs)
          TextBox1.AppendText(DirectCast(sender, Control).Text)
          End Sub


          Note 2:

          As Andrew Morton suggested in the comments, here the cast is performed using the DirectCast() operator. Since sender is a Button and also Button derives from Control, you can use the light-weight DirectCast() to see sender as a Button or as a Control (since Button derives from Control and the Text property is inherited from Control) and access its .Text property.




          From the Docs:

          [DirectCast()] (...) it can provide somewhat better performance than CType
          when converting to and from data type Object.




          I'm leaving CType() in the first example as a visual aide.



          Difference between DirectCast() and CType() in VB.NET



          Method 3:

          Create an event handler in code and assign it to all of your Buttons using a Lambda as a method delegate:



          Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
          For Each btn As Button In Me.Controls.OfType(Of Button).Where(Function(b) b.Name.Contains("btnKey"))
          AddHandler btn.Click, Sub() TextBox1.AppendText(btn.Text)
          Next
          End Sub






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 12 '18 at 17:47

























          answered Nov 10 '18 at 17:24









          JimiJimi

          7,24741733




          7,24741733







          • 1




            You might as well use DirectCast instead of CType because you already know that they are buttons. Further reading: Difference between DirectCast() and CType() in VB.NET.
            – Andrew Morton
            Nov 10 '18 at 17:33










          • @Andrew Morton Hmm, yes, it's worth mentioning, since it'll work casting to both Button and Control here. I'll link the link :)
            – Jimi
            Nov 10 '18 at 17:40






          • 1




            @Jimi What is textbox in textbox.TextBox1 used in all three methods?
            – Mary
            Nov 10 '18 at 23:45










          • @Mary I'm not sure. You should ask the OP, it's in the question's code snippet. Maybe, it's just the Form container Name (is it a text editor Form?), or another container control. I just followed the existing pattern. But this is probably not a great idea, in a more generic use case scenario (also because, apparently, generates the question what's that for?). I'm removing it.
            – Jimi
            Nov 11 '18 at 3:00










          • @Jimi Thanks, I was pasting it into my code bank and was wondering.
            – Mary
            Nov 11 '18 at 3:25












          • 1




            You might as well use DirectCast instead of CType because you already know that they are buttons. Further reading: Difference between DirectCast() and CType() in VB.NET.
            – Andrew Morton
            Nov 10 '18 at 17:33










          • @Andrew Morton Hmm, yes, it's worth mentioning, since it'll work casting to both Button and Control here. I'll link the link :)
            – Jimi
            Nov 10 '18 at 17:40






          • 1




            @Jimi What is textbox in textbox.TextBox1 used in all three methods?
            – Mary
            Nov 10 '18 at 23:45










          • @Mary I'm not sure. You should ask the OP, it's in the question's code snippet. Maybe, it's just the Form container Name (is it a text editor Form?), or another container control. I just followed the existing pattern. But this is probably not a great idea, in a more generic use case scenario (also because, apparently, generates the question what's that for?). I'm removing it.
            – Jimi
            Nov 11 '18 at 3:00










          • @Jimi Thanks, I was pasting it into my code bank and was wondering.
            – Mary
            Nov 11 '18 at 3:25







          1




          1




          You might as well use DirectCast instead of CType because you already know that they are buttons. Further reading: Difference between DirectCast() and CType() in VB.NET.
          – Andrew Morton
          Nov 10 '18 at 17:33




          You might as well use DirectCast instead of CType because you already know that they are buttons. Further reading: Difference between DirectCast() and CType() in VB.NET.
          – Andrew Morton
          Nov 10 '18 at 17:33












          @Andrew Morton Hmm, yes, it's worth mentioning, since it'll work casting to both Button and Control here. I'll link the link :)
          – Jimi
          Nov 10 '18 at 17:40




          @Andrew Morton Hmm, yes, it's worth mentioning, since it'll work casting to both Button and Control here. I'll link the link :)
          – Jimi
          Nov 10 '18 at 17:40




          1




          1




          @Jimi What is textbox in textbox.TextBox1 used in all three methods?
          – Mary
          Nov 10 '18 at 23:45




          @Jimi What is textbox in textbox.TextBox1 used in all three methods?
          – Mary
          Nov 10 '18 at 23:45












          @Mary I'm not sure. You should ask the OP, it's in the question's code snippet. Maybe, it's just the Form container Name (is it a text editor Form?), or another container control. I just followed the existing pattern. But this is probably not a great idea, in a more generic use case scenario (also because, apparently, generates the question what's that for?). I'm removing it.
          – Jimi
          Nov 11 '18 at 3:00




          @Mary I'm not sure. You should ask the OP, it's in the question's code snippet. Maybe, it's just the Form container Name (is it a text editor Form?), or another container control. I just followed the existing pattern. But this is probably not a great idea, in a more generic use case scenario (also because, apparently, generates the question what's that for?). I'm removing it.
          – Jimi
          Nov 11 '18 at 3:00












          @Jimi Thanks, I was pasting it into my code bank and was wondering.
          – Mary
          Nov 11 '18 at 3:25




          @Jimi Thanks, I was pasting it into my code bank and was wondering.
          – Mary
          Nov 11 '18 at 3:25

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53241062%2fhow-to-find-the-text-of-a-clicked-button-in-one-single-statement%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

          Crossroads (UK TV series)

          ữḛḳṊẴ ẋ,Ẩṙ,ỹḛẪẠứụỿṞṦ,Ṉẍừ,ứ Ị,Ḵ,ṏ ṇỪḎḰṰọửḊ ṾḨḮữẑỶṑỗḮṣṉẃ Ữẩụ,ṓ,ḹẕḪḫỞṿḭ ỒṱṨẁṋṜ ḅẈ ṉ ứṀḱṑỒḵ,ḏ,ḊḖỹẊ Ẻḷổ,ṥ ẔḲẪụḣể Ṱ ḭỏựẶ Ồ Ṩ,ẂḿṡḾồ ỗṗṡịṞẤḵṽẃ ṸḒẄẘ,ủẞẵṦṟầṓế