Hi. So I've created an array list and dynamically created and added buttons to it. I want to check if any of those buttons are checked but I'm not sure how I would go about doing that. Is there a boolean member in the button Class that I can check to see if it's clicked? I've tried looking for it but I couldn't find it. All I found was an click event member.
Please help me guys..what i have to do?
Thanks a lot
please help..?
Started by Patrick, Oct 06 2007 09:07 AM
1 reply to this topic
#1
Posted 06 October 2007 - 09:07 AM
|
|
|
#2
Posted 06 April 2008 - 04:53 AM
When you say "checked", it's quite confusing. Do you mean checked as in a check box or a radio button, or a click event? If it's the latter, you can simply assign a method to the buttom's click event, and when it's called, you can write some code to actually store the value in another array. This way, you get a build-up of information that's globally accessible. If you're using a check box or radio button, you can use the Checked property or the CheckState property.


Sign In
Create Account


Back to top









