Forum Discussion

msal4434's avatar
msal4434
Occasional Contributor
8 years ago

working with check boxes

I am trying to check the status of the checkbox (True or False). I can see checked status property in object property but couldn't get it when writing script

I can see checked status in object property but couldn't get it when writing the script...

 

Screenshot attached

3 Replies

  • baxatob's avatar
    baxatob
    Community Hero

    Debug your script. Run yourCheckbox.Checked and see what returns. 

    • Colin_McCrae's avatar
      Colin_McCrae
      Community Hero

      What do you mean "you can't get it" when running a script?

       

      What happens? Do you get an error? The wrong value? Nothing?

       

      What happens?

       

      It's a basic object property. So it should be a simple collection of it's value in a run. So either the object is not mapped right, so not being found. Or you're reading the wrong property. Or you are not refreshing the object state before querying it? Or something else ......

       

      A little more info on:

       

      1 - What your script is trying to do, and the steps leading up to this.

      2 - What happens when you "can't get it". (Error messages etc)