473,394 Members | 1,746 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

TextBox text font colors

553 512MB
How in a TextBox , lines of text can be displayed, each with different colors ?
Jul 28 '07 #1
8 4394
ADezii
8,834 Expert 8TB
How in a TextBox , lines of text can be displayed, each with different colors ?
To the best of my knowledge, this cannot be done with the traditional Text Box Control supplied by Access. You can either Insert an ActiveX Control that provides this functionality, or create an OLE Object Field, say for a Word Document, where this can easily be accomplished.
Jul 28 '07 #2
questionit
553 512MB
ADezii

I am not sure how to do either of these things.

Can you help me doing it...
Which one is easier and most common to do these kind of things?


To the best of my knowledge, this cannot be done with the traditional Text Box Control supplied by Access. You can either Insert an ActiveX Control that provides this functionality, or create an OLE Object Field, say for a Word Document, where this can easily be accomplished.
Jul 28 '07 #3
puppydogbuddy
1,923 Expert 1GB
maybe this is what you really want?

http://support.microsoft.com/kb/210263
Jul 29 '07 #4
ADezii
8,834 Expert 8TB
maybe this is what you really want?

http://support.microsoft.com/kb/210263
Hello puppydogbuddy! I think the Article you are referring to describes how to change the Foreground and Background colors of selected Controls via Conditional Formatting. Th OP's request is how to change the font colors on each line of text within a Text Box - a much different scenario. If I misinterpreted the request, I do apologize.
Jul 29 '07 #5
ADezii
8,834 Expert 8TB
ADezii

I am not sure how to do either of these things.

Can you help me doing it...
Which one is easier and most common to do these kind of things?
  1. Is this a single, Unbound Text Box that we are talking about? I am talking about something for a 1-time-display-purpose-only item as in instructural text.
  2. If this Text Box is bound to a Field, are we talking a large number of Records in the Table?
Jul 29 '07 #6
puppydogbuddy
1,923 Expert 1GB
Hello puppydogbuddy! I think the Article you are referring to describes how to change the Foreground and Background colors of selected Controls via Conditional Formatting. Th OP's request is how to change the font colors on each line of text within a Text Box - a much different scenario. If I misinterpreted the request, I do apologize.
Hi ADezii,
I believe you have correctly interpreted what the OP said that he wants. My only thought here was does he really want a textbox with different colors on different lines (internally) or did he mean that he wants the textbox that has the focus to have a different color.

PDB
Jul 29 '07 #7
ADezii
8,834 Expert 8TB
Hi ADezii,
I believe you have correctly interpreted what the OP said that he wants. My only thought here was does he really want a textbox with different colors on different lines (internally) or did he mean that he wants the textbox that has the focus to have a different color.

PDB
Very good point, we'll just have to let the OP decide.
Jul 29 '07 #8
NeoPa
32,556 Expert Mod 16PB
Subscribing to monitor OP's response.
Jul 29 '07 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Mr.Baha | last post by:
Hello, I have a situation where I am appending text to a multi-line (rich)textbox in a C# form. Now depending on which event does the appendtext, i want to distinguish the lines in the textbox by...
8
by: tshad | last post by:
I cannot seem to get the asp:textbox to use classes. Style works fine. I am trying to set the textbox to act like a label in some instance so it doesn't have a border, readonly and the background...
9
by: ujjc001 | last post by:
hello, I am in asp.net and have a form with an asp textbox. I specify a cssclass for the text box having the following: ..Textbox { font-size: 8pt; list-style-type: none; background-color:...
8
by: Filipe Marcelino | last post by:
Hi, I'm trying to create a textbox inheriting from the standard textbox. I would like to: 1. repaint the textbox border; 2. define a color for that border; Till now I made this:
0
by: Jacob Donajkowski | last post by:
Once the user logs in I want to have the users switch from the Roster View to the Profile View and enter their profile infomation and save it. Then the next time they login and go to the Profile...
4
iam_clint
by: iam_clint | last post by:
Heres some sample code I wrote up for you guys to use on making text effects <script> //TEXT EFFECTS CODE WRITTEN BY iam_clint! window.onload = doEffects; var speed = 15; //lower the number...
0
by: sjickells | last post by:
Hi I am having a problem using asp:TextBox's in a transparent table. I have a background image on the page and a table in the middle of the page. I have set the background colour of the table...
0
KalariaNitya
by: KalariaNitya | last post by:
Hello, could anybody help me? i have gridview, inside gridview i have one Update button & textbox update button update the quantity entered in textbox. i want to update the quantity on textbox on...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.