vb.net - Detecting a radiobutton change -
I have around 50 radio boots on one form and if I want to make a statement for every one, changes, those groups Not a part of the box. How can I find out that some radiobutton has changed and then the name can be written in any other variable?
You can always set a check-change for all 50 radio boots for the same event handler Events This is an example by code:
Private SubOnChange (sender as system object, and system.AventARG) dim RB = CTP (sender, radio button) Console.Publication (RB. + "RB check.tostring) handles sub-private sub form 1_load (System object, as in the form of sender and in the form of a system.) My Labad Adhanger M. Radiotebut 1. Checked , Know on change adah Ndler m. Radiobuten 2. checked, know-off change, and so on ..... 'and all I have done this via code and for long the code has been Do not use the designer to avoid the radio button. Check-Change, Radiobutton 2. Checked Change .......
Comments
Post a Comment