SunQuest
           Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old November 13th, 2003, 08:26 PM
KnowNothing KnowNothing is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Nowhere New York
Posts: 46 KnowNothing User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via AIM to KnowNothing
Question text box help

I'm teaching myself how to program (started this week 11/9/03) and I as a starting project I'm making a word processing program. So far I've got a few of the common text mods like changing fonts and font sizes... but I was wondering how to do this without applying it to the whole txt box and just the rest I'm about to type like in word pad, MS word and other popular programs.

Last edited by KnowNothing : November 13th, 2003 at 09:26 PM.

Reply With Quote
  #2  
Old November 13th, 2003, 08:57 PM
jbelmira jbelmira is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Elmira, Ontario
Posts: 16 jbelmira User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
your text box needs to have the multiline property set to true. This will let you type more than one line in the box. Then expand the textbox size and add in vertical scroll bars. Now it's starting to look like a simple word processor or text editor.

If you want to make certain words bold or italics, you have a slightly more complicated program. You should do some reading for this one - after you get some practice with the other text box properties.

Reply With Quote
  #3  
Old November 13th, 2003, 09:25 PM
KnowNothing KnowNothing is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Nowhere New York
Posts: 46 KnowNothing User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via AIM to KnowNothing
I've already done all that stuff, and its all working. Here is a list of things I've already put in and have working.... font size change, fonts, bold, italic, underline and left, right and center align. The window is already setup and all the other things were already done.

Last edited by KnowNothing : November 13th, 2003 at 09:30 PM.

Reply With Quote
  #4  
Old November 14th, 2003, 07:03 AM
n0xwolf n0xwolf is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 2 n0xwolf User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Sounds like the VB Builtin word processor wizard !!!

-- good way te learn!

Reply With Quote
  #5  
Old November 14th, 2003, 09:39 AM
cleverpig cleverpig is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2003
Posts: 1,152 cleverpig User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via MSN to cleverpig
Hei!U can add some menu:like open file,save file,print,Copy,Cut,Paste,Undo,Redo...It will really like a word environment!!

Reply With Quote
  #6  
Old November 14th, 2003, 07:29 PM
KnowNothing KnowNothing is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Nowhere New York
Posts: 46 KnowNothing User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via AIM to KnowNothing
I'll get to all that after I figure out how to modify only the test I'm working on... say I have a heading type it's bold center and underlined and then I want to move down to left align, normal font I want it to be able to do that without modifying what I've already worked on.

Reply With Quote
  #7  
Old November 14th, 2003, 10:28 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,712 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 4 Weeks 1 Day 23 h 31 m 33 sec
Reputation Power: 688
You can use the ms rtf control to change fonts, etc in a single control. afaik any font settings on a standard textbox apply to all the text in the textbox.

Another alternative is to create your text in html and use a web browser control.

Reply With Quote
  #8  
Old November 14th, 2003, 10:50 PM
KnowNothing KnowNothing is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Nowhere New York
Posts: 46 KnowNothing User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via AIM to KnowNothing
I'm now seeing why everyone says to stay away from visual basic. I do believe I'll be switching to Python as my starting language. Hopefully that works out a little better. Thanks for the advice though.

Reply With Quote
  #9  
Old November 15th, 2003, 10:08 AM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,712 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 4 Weeks 1 Day 23 h 31 m 33 sec
Reputation Power: 688
Good luck. You'll find every programming environment has it's pluses and minuses.

Reply With Quote
  #10  
Old November 15th, 2003, 04:27 PM
KnowNothing KnowNothing is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Nowhere New York
Posts: 46 KnowNothing User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via AIM to KnowNothing
If anyone wants the code for my project I'll be glad to send it to you, so that you can take over the project. If you're a newb like I am you might find it helpful.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming > text box help


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway