Jump to content
Sign in to follow this  

Using IsChecked on .NET radio buttons doesn't work

Recommended Posts


I have an application built on the .NET framework, containing radio buttons.

I use ControlCommand to query for the button state:

ControlCommand("Chamber Plan","","[CLASS:WindowsForms10.BUTTON.app.0.378734a; INSTANCE:13]","IsChecked","")

but the return value is always 0, regardless of whether the radio button is checked or not.

A similar problem was discussed back in January on this forum (Doc Marten, I think?) and never reached a conclusion, but then it wasn't clear if he was dealing with a .NET radio button.

Interestingly, in my previous use of WinBatch this was also a problem (along with many, many other uglier problems which AutoIT has solved for me).

Has anyone encountered and solved this one?

Share this post

Link to post
Share on other sites

Welcome to the forum.

I don't have (or want) .NET to test - but I'll give you free bump in the forum.

Edited by herewasplato


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this