well.. what i need is to add a "Choice section" on a click of button. But based on this article I am unable to do so because clicking on a button will move the focus to it and will give an Error when you use the ExecuteAction method, to solve this the button should be on a custom task pane, menu or a toolbar to call the executeAction method.
Any other ideas how to add a "Choice Section" group programmatically?
regards,
Jesse