Pink Poogle Toy Forum

The official community of Pink Poogle Toy
Main Site
NeoDex
It is currently Fri Feb 21, 2025 10:02 am

All times are UTC




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 
Author Message
 Post subject: Programming help?
PostPosted: Sat Nov 13, 2004 3:33 am 
PPT Warrior
PPT Warrior
User avatar

Posts: 945
Joined: Sun Oct 10, 2004 11:58 am
Location: Seattle, WA
Gender: Male
I couldn't really think of where to ask this, but this place is as good as any and my latest program is an adaptation of my Neopian Adventure. I need to know how to clear the screen and make the text wrap instead of being cut off. I'm using Visual Basic BTW. I heard of a cls command for clearing the screen, but that appears to be for C++ only as it doesn't work when I enter it in. For wrapping text, I heard of being able to use object.WrapText = True to do it, but it says that WrapText isn't a part of System or something like that.


Image


Top
 Profile  
 
 Post subject: Re: Programming help?
PostPosted: Tue Nov 16, 2004 12:03 am 
PPT Student
PPT Student
User avatar

Posts: 346
Joined: Wed Jun 16, 2004 8:45 am
Urthdigger wrote:
I couldn't really think of where to ask this, but this place is as good as any and my latest program is an adaptation of my Neopian Adventure. I need to know how to clear the screen and make the text wrap instead of being cut off. I'm using Visual Basic BTW. I heard of a cls command for clearing the screen, but that appears to be for C++ only as it doesn't work when I enter it in. For wrapping text, I heard of being able to use object.WrapText = True to do it, but it says that WrapText isn't a part of System or something like that.

Use object.MultiLine.

I don't know about clearing the screen though Good luck :P


Image
Giving away >50< Gmail invites. PM me with your current email for one.
Get Firefox!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 16, 2004 12:35 am 
Honorary Member
Honorary Member
User avatar

Posts: 3386
Joined: Mon May 31, 2004 4:59 pm
Location: Lookin' through a glass onion
I thought this would fare better here than Misc. Disc. :)


Image
Yes, I'm still alive...still alive...


Top
 Profile  
 
 Post subject: Re: Programming help?
PostPosted: Wed Dec 01, 2004 6:37 am 
PPT Warrior
PPT Warrior
User avatar

Posts: 945
Joined: Sun Oct 10, 2004 11:58 am
Location: Seattle, WA
Gender: Male
.ccy wrote:
Urthdigger wrote:
I couldn't really think of where to ask this, but this place is as good as any and my latest program is an adaptation of my Neopian Adventure. I need to know how to clear the screen and make the text wrap instead of being cut off. I'm using Visual Basic BTW. I heard of a cls command for clearing the screen, but that appears to be for C++ only as it doesn't work when I enter it in. For wrapping text, I heard of being able to use object.WrapText = True to do it, but it says that WrapText isn't a part of System or something like that.

Use object.MultiLine.

I don't know about clearing the screen though Good luck :P


Hmm, I tried object.MultiLine, and it said "MultiLine is not a member of System.Object." Ah well, I'll try looking harder. Though, if worse comes to worse I could always just be creative with spaces. I really need the clear screen thing though.


Image


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 01, 2004 1:49 pm 
Administrator
Administrator
User avatar

Posts: 1140
Joined: Mon May 31, 2004 1:36 pm
Upload whatever files you're using to somewhere so that we can have a look :)

Your error suggests that you're trying to modify .Multiline on some object that doesn't support it -- what is your code?


Image
Will you stop with the honour stuff?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 03, 2004 11:32 pm 
PPT Warrior
PPT Warrior
User avatar

Posts: 945
Joined: Sun Oct 10, 2004 11:58 am
Location: Seattle, WA
Gender: Male
Here's what I got


Image


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 05, 2004 11:48 am 
Administrator
Administrator
User avatar

Posts: 1140
Joined: Mon May 31, 2004 1:36 pm
.Multiline is for textboxes -- not for console. You can try outputting a lot of "\r\n" to clear the screen.

(interesting idea with using functions as "areas", but it might be better to come up with some sort of file-based storage structure to control the "pages". That would keep your program static (no need to compile it again and again), and you can extend the adventure by simply modifying the definition files.)


Image
Will you stop with the honour stuff?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 06, 2004 11:35 am 
PPT Warrior
PPT Warrior
User avatar

Posts: 945
Joined: Sun Oct 10, 2004 11:58 am
Location: Seattle, WA
Gender: Male
Heh, thanks, but the problem is I'm a beginner. When I got the program from the community college library, something was wrong with the disc, so no help files for me. All my knowledge came from my beginning programming class and it's textbook :P

Oh, and you might notice a few errors with my system, but I've fixed them since then. Now it actually records that you did stuff in a previous room :P


Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 59 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group