Author Topic: RadioButton has no constants  (Read 4274 times)

Offline David Serrano

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 503
RadioButton has no constants
« on: 2007 August 28 15:08:07 »
Hi,

Studying the tooltips that appear in the script editor on the object tree at the right, I've noticed that the property RadioButton.state is an int, so I expect to see some constants defined that describe the possible states. They are missing, though.

I realize PixInsight is a still incomplete piece of software but I consider this particular error to be a slip-up.

Cheers,
--
 David Serrano

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
RadioButton has no constants
« Reply #1 on: 2007 August 31 09:22:45 »
Good catch, David.

CheckBox states are enumerated in pjsr/CheckState.jsh. I forgot to add signatures for the ChechState_xxx #defines to the property tree. Thanks for being wide-awake ;)
Juan Conejero
PixInsight Development Team
http://pixinsight.com/