checkbox execute or not ?

i have a checkbox button and after it a menu button

now if u make a test on the checkbox after the menu and i run the script it does not do anything

but i add the test on checkbox before the menu it will be done!

so why does the menu influence this sequence ?

i mean buttons event should be detected all the time in the draw function?

thanks

Look in the source of ‘geodesic domes’ (latest one), there are several buttons and checkboxes …

The important thing is, the buttons of an Operator do the real job, so if the gui makes a button to call an operator
that takes preference only once.
Thereafter the properties of the Operator will work in any sequence of clicking, dragging …

well the menu is using an opeartor but the checkbox is only a property button

and if i place this checkbox button after the menu button operator it does work at first!
i have to select with menu button then it iwll work

but the opposite works fine

why is there such a difference i mean a button event should always work in draw function of a panel class!

thanks