When i try to test in preview tab i can not click on buttons. There is same behaviour on radio buttons and drop down lists.
Can you pls tell me what is wrong ?
Sometimes my buttons go read-only, usually when I accidentally type something into the calculate event, even if I remove the code and put it into the click event it stays read-only, but there must be other editing scenarios as well.
Try changing the field to a checkbox, which will allow you to make it "User Entered" again (on the Value tab of the object Palette).
Or you could look in the XML Source and see if there is a line like;
<field name="Button2" y="171.45mm" x="92.075mm" w="28.575mm" h="6mm" access="readOnly">
and remove the access="readOnly" bit.
I have checked and everything is fine. When i ctrl+N and add a button on form it works in preview but it doesnt work in the form that i have to add button. This sounds so odd.
But check these:
I have done one form that was so messed up and just would not work that i just did it again in the same way and it worked. Still dont know why.