Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Stay inside the box

Author
Message
Clbembry
17
Years of Service
User Offline
Joined: 10th Dec 2006
Location: Minnesota
Posted: 24th Jan 2007 03:31
How would I make text stay inside a box, when I change its x/y vallue with the arrow keys?
Reynard
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: CT, USA
Posted: 24th Jan 2007 13:58
Set the text position to the box coords. Make sure you do it inside the loop so that as the box coords change, the text coords change too.

Login to post a reply

Server time is: 2024-09-25 17:34:54
Your offset time is: 2024-09-25 17:34:54