>I think, you may have a pageframe on your form and you dropped this class on the page, not on the form itself. This would explain the error you're getting...
>
That was an amazing observation! How did it ever occur to you that the problem was caused by a pageframe?