@tonyg... the dirty part of your code:
if one just copies this, the first and the last pixel of height and width are not accepted - a >= and <= is needed ;D.
And no, its no "just want to say something" - its posting in beginners area where some users try to copypaste given code to make it work. (so: do not feel offended please)
bye
MB
If mx > x And mx < x + width And my > y And my < y + height
if one just copies this, the first and the last pixel of height and width are not accepted - a >= and <= is needed ;D.
And no, its no "just want to say something" - its posting in beginners area where some users try to copypaste given code to make it work. (so: do not feel offended please)
bye
MB