Pink Poogle Toy Forum

The official community of Pink Poogle Toy. Bear with me while I tweak everything
It is currently Wed Sep 16, 2026 7:42 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
Offline

Posts: 945
Joined: Sun Oct 10, 2004 11:58 am
Website: http://www.geocities.com/urthdigger
Yahoo Messenger: urthdigger
Location: Seattle, WA
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
 
   
 Post subject: Re: Programming help?
PostPosted: Tue Nov 16, 2004 12:03 am 
PPT Student
PPT Student
Offline

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
 
   
 Post subject:
PostPosted: Tue Nov 16, 2004 12:35 am 
Honorary Member
Honorary Member
Offline

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
 
   
 Post subject: Re: Programming help?
PostPosted: Wed Dec 01, 2004 6:37 am 
PPT Warrior
PPT Warrior
Offline

Posts: 945
Joined: Sun Oct 10, 2004 11:58 am
Website: http://www.geocities.com/urthdigger
Yahoo Messenger: urthdigger
Location: Seattle, WA
.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
 
   
 Post subject:
PostPosted: Wed Dec 01, 2004 1:49 pm 
Administrator
Administrator
Offline

Posts: 1140
Joined: Mon May 31, 2004 1:36 pm
Website: http://www.digifort.com/idnq/
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
 
   
 Post subject:
PostPosted: Fri Dec 03, 2004 11:32 pm 
PPT Warrior
PPT Warrior
Offline

Posts: 945
Joined: Sun Oct 10, 2004 11:58 am
Website: http://www.geocities.com/urthdigger
Yahoo Messenger: urthdigger
Location: Seattle, WA
Here's what I got

_________________
Image


Top
 
   
 Post subject:
PostPosted: Sun Dec 05, 2004 11:48 am 
Administrator
Administrator
Offline

Posts: 1140
Joined: Mon May 31, 2004 1:36 pm
Website: http://www.digifort.com/idnq/
.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
 
   
 Post subject:
PostPosted: Mon Dec 06, 2004 11:35 am 
PPT Warrior
PPT Warrior
Offline

Posts: 945
Joined: Sun Oct 10, 2004 11:58 am
Website: http://www.geocities.com/urthdigger
Yahoo Messenger: urthdigger
Location: Seattle, WA
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
 
   
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


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

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