Author Posts

January 1, 2012 at 12:00 am

by veroli at 2013-02-14 12:11:27

Hello all,
Could somebody provide an example of a couple of radio buttons on a form that automatically update a text box based depending on which one is clicked.
I seem to be having a lot of trouble making this happen.
I know it should be done through CheckedChange on the radio button but i cant make the text change when either button is selected.
sorry if thats a bit vague

by DonJ at 2013-02-15 12:49:21

Yes, that's a bit vague. Generally speaking, you code for the CheckChanged event on the radio button and change the Text property of the text box. This isn't really a PowerShell question; you're dealing with the .NET Framework. You might consider asking at StackOverflow.com, where there are a greater number of .NET developers who might be able to offer more specific advice. I'd suggest showing them a snippet of your code so they know what you're trying to do.