Quote Originally Posted by mickyfyn View Post
Hi

Thank you for your prompt reply, I will try what you suggest. I did look at this method but was put off by the fact it said 'Do not modify it using the code editor'.
Should keep me busy for a few nights.

Thank you again

Mickyfyn
Editing designer-generated code by hand should generally be avoided for two reasons:

1. You might do something that will break the designer.
2. Each time you make a change in the designer it will regenerate the code, possibly wiping out your change.

Your designer is already broken though, so this is one of those situations where it's unavoidable. Taking a backup of your project before making any changes would probably be wise though.