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 / Little Help Please

Author
Message
Pyro gamesta
19
Years of Service
User Offline
Joined: 28th Apr 2005
Location:
Posted: 20th Sep 2006 06:14
I was wondering how i can create spaces in my code. Check this Out...






Instead of it coming out like.....

Hello(Name)
Welcome


how do i get it to do.....

Hello(Name)

Welcome

Just like that?? i've tried doin print like this.



is there an easier way......or do i have to do this?

When there is a will.....theres a way!!!
Saiochi
18
Years of Service
User Offline
Joined: 17th Sep 2006
Location: Under your bed
Posted: 20th Sep 2006 06:21
You could use the set cursor command..

Pyro gamesta
19
Years of Service
User Offline
Joined: 28th Apr 2005
Location:
Posted: 20th Sep 2006 06:51
hmm....it works thx ma dude

When there is a will.....theres a way!!!
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 20th Sep 2006 07:48
Or you could use print like this:


Ginga
18
Years of Service
User Offline
Joined: 3rd Jul 2006
Location: Dorset, England
Posted: 20th Sep 2006 13:24
how about using the text command?


Default Text properties make it about 15 pixel height, so each line would b plus 15, the 0 represent the distance from the left edge. i norm use 10.
Gil Galvanti
19
Years of Service
User Offline
Joined: 22nd Dec 2004
Location: Texas, United States
Posted: 21st Sep 2006 03:19
all you'd need to do is make a an empty print statement .


Pirates of Port Royale
Live the life of a pirate.
Pyro gamesta
19
Years of Service
User Offline
Joined: 28th Apr 2005
Location:
Posted: 21st Sep 2006 05:35
thx all ur the best!!but i also have a new question!

how do i make a message box?

When there is a will.....theres a way!!!
Saiochi
18
Years of Service
User Offline
Joined: 17th Sep 2006
Location: Under your bed
Posted: 21st Sep 2006 06:55
Like for an RPG or what?

If you have X-ray vision, can you see through your own eyelids?
Pyro gamesta
19
Years of Service
User Offline
Joined: 28th Apr 2005
Location:
Posted: 22nd Sep 2006 06:29
like for example.....a box you type infomation in. Not rpg...a text box. Instead of doin the input...code..and havin it come up in text....id like it to come up in a message box(basically a text box)

When there is a will.....theres a way!!!
Saiochi
18
Years of Service
User Offline
Joined: 17th Sep 2006
Location: Under your bed
Posted: 22nd Sep 2006 08:12 Edited at: 23rd Sep 2006 03:05
Well, you'd have to either make a box image, load it then put the text on top..

Or use the 2d commands to draw one.

This snippet uses the graphical text box:



This next snippet will print the text into the box:



Is this what you were looking for?

If you have X-ray vision, can you see through your own eyelids?

Login to post a reply

Server time is: 2024-11-27 05:27:58
Your offset time is: 2024-11-27 05:27:58