I've just cut and pasted the code attached to my first post into RobK's Blue IDE and compiled it. It ran fine - no problems whatsoever. I've tried compiling it at different screen resolutions. It still ran fine. I've also tried compiling it in the original IDE. It ran fine in that as well.
The problem is at your end I'm afraid. Are you running at least DBP update 5.1 and do you have all the latest drivers installed? You need to be running at least u5.1 as the pick object command was, I think, first introduced in that update.
Philip
What do you mean, bears aren't supposed to wear hats and a tie? P1.3ghz / 384 megs / GeForce MX 5200 128meg / WinXP home