Solved

Textbox control

Posted on 1997-08-20
6
325 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
Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

 

Accepted Solution

by:
ccarlin earned 50 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…

728 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