I know I've done it successfully.
Have you tried something like adding a value to the control called
DestPos with a value of -100,-150
And then making you control do a "Parent.MovePiece.Location=DestPos" or something like that? I know on the window I was moving to a negative location, I was reading it out of a table, so that might be how it worked.
Alternately, if you're trying to make the window disappear by moving off the screen, why not go way right and way down? "4096,4096" is my usual favorite.
__________________
'Tetht the printhiple, tetht the printhiple,' muttered Igor. 'Thorry, thur, but Igorth do not "tetht the printhiple". Thtrap it to the bench and put a good thick bolt of lightning through it, thatth our motto. Thatth how you tetht thomething.'
|