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.

DarkBASIC Discussion / Text Offscreen

Author
Message
Jellybean
21
Years of Service
User Offline
Joined: 26th Aug 2003
Location:
Posted: 28th Sep 2003 15:06
im sure that this has probably been posted b4 but isearched for it and could not find it

how do i detect when the text has gone offscreen?
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 28th Sep 2003 15:20
Just get its position (the last set cursor x,y command) and check that against the screen width() and screen height() then you know if its out side of the screen...

Hope i helped

If Quizz's Are Quizzical, Then What Are Test's?

Login to post a reply

Server time is: 2025-05-20 14:17:24
Your offset time is: 2025-05-20 14:17:24