I have two radio buttons and one drop down menu (combobox)
my aim is to make the program such that when radiobutton 1 is checked, the combobox shows a menu. if radiobutton 2 is checked, the combobox shows a different menu.
if none of the radiobuttons are checked, I want the combobox to be disabled .
I did it this way. here is the required part of the code.
the application does not enable the combobox as I want it to be. the combo box is always enabled from the moment I load the project, instead of being enabled after the checkbox is clicked. Can someone point out the mistake that I have made in the code above? is there a different way to write the if condition? Thanks in advance!