Radio Button Update
-
On 18/01/2017 at 12:58, xxxxxxxx wrote:
I'm trying to get a combo box drown down list to change its values based on which radio button is selected but I don't think that the plugin interface add's an event when a radio button is changed.
Is there a way for the plugin interface to recognize when a radio button is changed?
Thanks!
AJ
-
On 18/01/2017 at 14:17, xxxxxxxx wrote:
Like any other element (assuming you are in a gedialog). Simply define in the Command fonction
if id == ID_RATIO: value = self.GetLong(ID_RATIO)
-
On 18/01/2017 at 15:45, xxxxxxxx wrote:
Thanks gr4ph0s! I thought it was more complicated then that.
Just a note if others are looking to do the same that you need to clear the combo box list with FreeChildren()