A UserCOntrol implements the Control interface, thus you should not get that error.
Do you get that error at run time or in the IDE only? Which other interfaces does your control implement? Are you sure that doThis uses the right 'x' and 'y' variables? It is risky to use names like those...
Marco
|