You shouldn't have any problems, but use:
_Screen.AddObject("oResizer", "Resizer")
Have you put all the code into a PRG, and then ran it, if so, show me your code in the PRG.
Kev
>Kevin
>
>Have corrected typo but error is "Statement is not in procedure" on line
>
>_Screen.AddObject("Resizer", "Resizer")
>
>What am I missing?
>
>Thanks for your patience
>
>Dennis