i was using this code to try to learn subclassing, but there seems to be some errors in the syntax
Code:
nWidthPixels = Screen.Width Screen.TwipsPerPixelX
nHeightPixels = Screen.Height Screen.TwipsPerPixelY
should this be
Code:
nWidthPixels = Screen.Width * Screen.TwipsPerPixelX
nHeightPixels = Screen.Height * Screen.TwipsPerPixelY
?
and this;
Code:.ptMaxSize.x = nWidthPixels - (nWidthPixels 4)
should it be
Code:.ptMaxSize.x = nWidthPixels - (nWidthPixels*4)
?
in other words are the multiplication signs missing? there are more errors which might be the same thing
stevesoft