Jump to content

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?

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...