Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Textbox control

Posted on 1997-08-20
6
Medium Priority
?
327 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
Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

 

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

Independent Software Vendors: 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!

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…
Suggested Courses

636 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