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.

AppGameKit Classic Chat / Printing Strings can position of where it prints be changed?

Author
Message
Mmarzex
11
Years of Service
User Offline
Joined: 26th Feb 2013
Location:
Posted: 16th Apr 2013 17:55
I'm trying to print a list of strings but I don't want them in the top left corner, I want them in the center of the screen. How would I change that?
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 16th Apr 2013 18:13
If you are using the Print command, your only option is to Print("\n") for every line you want blank. Of course you can use one Print command with multiple "\n" in the string.

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 16th Apr 2013 19:48
maybe you can use a label for text.

Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 16th Apr 2013 20:28
If you are going to use a Text object, then you can position it directly where you want on the screen.

Mmarzex was asking about printing, so I took him literally about using the Print command.

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 16th Apr 2013 20:52
jo, in agk i missing a cursor command like it has the old visual basic 6.

Login to post a reply

Server time is: 2024-05-04 08:29:15
Your offset time is: 2024-05-04 08:29:15