>>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?
Barbara,
The error message was quite clear :) Judging by the questions Grady asked I figured, he might got into this trap...
If it's not broken, fix it until it is.
My Blog