?
Solved

Textbox control

Posted on 1997-08-20
6
Medium Priority
?
326 Views
Last Modified: 2013-12-16
I would like to create my own "Homesite" HTML Editor.  I am looking for a Text Edit control that allows me to have multicolor text in a single TextBox.
0
Comment
Question by:clintonm
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
6 Comments
 
LVL 2

Expert Comment

by:msiman
ID: 1431559
whay not using picture contorl?

0
 
LVL 2

Expert Comment

by:msiman
ID: 1431560
whay not using picture contorl?

0
 

Author Comment

by:clintonm
ID: 1431561
Edited text of question
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Accepted Solution

by:
ccarlin earned 100 total points
ID: 1431562
Microsoft's Richtext control richtx32.ocx supports multicolor text.  Here is some sample code to change color and font of a portion of a richtext control.

txtControl.Text = txtControl.Text & vbCrLf & "Error Description Returned: " & strTemp
txtControl.SelStart = pos
txtControl.SelLength = Len(txtControl.Text) - pos
txtControl.SelBold = True
txtControl.SelColor = QBColor(12)
txtControl.SelLength = 0

All you have to do is set the selstart and sellength and change the color using selcolor.  
0
 
LVL 2

Expert Comment

by:msiman
ID: 1431563
again, you can type a diffrent color text into
a picture contorl, but ccarlin answer is better,
if you want to deal with ocx's
MSIMAN
0
 
LVL 2

Expert Comment

by:msiman
ID: 1431564
again, you can type a diffrent color text into
a picture contorl, but ccarlin answer is better,
if you want to deal with ocx's
MSIMAN
0

Featured Post

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
The purpose of this video is to demonstrate how to properly insert a Vimeo Video into a WordPress site or Blog. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…
Suggested Courses
Course of the Month15 days, 9 hours left to enroll

741 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question