How in a TextBox , lines of text can be displayed, each with different colors ?
8 4405 ADezii 8,834
Recognized Expert Expert
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.
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.
ADezii 8,834
Recognized Expert Expert
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.
ADezii 8,834
Recognized Expert Expert
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?
- 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.
- If this Text Box is bound to a Field, are we talking a large number of Records in the Table?
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
ADezii 8,834
Recognized Expert Expert
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.
NeoPa 32,564
Recognized Expert Moderator MVP
Subscribing to monitor OP's response.
Sign in to post your reply or Sign up for a free account.
Similar topics |
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 having
them written in different font colors. So my multi-line textbox will
contain lines of various colored text.
I tried setting the...
|
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 is grey.
I have a class set as:
..table2Label{
border-style:none;
background-color:#F6F6F6;
}
|
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: white;
text-decoration: none;
}
|
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:
|
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 View I want
the form populated from there profile on the sql server. The code to
save the profile works fine. But when the user logs back in they data...
| |
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 the faster
var color_speed = 50; //speed at which colors change
var smoothing = 8; //the larger the number the less smooth but faster for sliding....
|
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 to white the used
CSS to set the opacity to 90 so that you can see the background image
through the table.
The problem I am having is with the...
|
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 ENTER event.
i had done below code:
page_load()
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
| |
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |