Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15206

VS 2019 How to get data in a textbox when clicked on a particular button?

$
0
0
Hi,

I have some buttons (each button's caption has a number on it) and it is in a separate Groupbox on my form.

What I want now is, when I click on any button in a specific groupbox, it should take the first character of that groupbox and and "-" then the button caption text and show it in a TableNumber.Text textbox.

Example: If I click on 6 number button in a "Garden" groupbox then it should show "G-6" in TableNumber.Text textbox.

Thanks in advance.
Attached Images
 

Viewing all articles
Browse latest Browse all 15206

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>