Re: Control Design Mode
I recently had this problem and it was the result of attempting to insert a function declaration between code associated with two controls on my form inside the code sheet for the document.
Try moving all procedures etc. not generated by the controls to a module.