I need to change the colour of text values within a table. For example
"Software" being red, "Lab Software" blue etc.
To change colour of number values simply, 1[red], entered into the
format section of design view makes the number 1 red. But dosnt work
for text.
Can anyone help. 4 3794
You need to use forecolor property in your code.
Yes, it's not very clear in the help for Format, but for text you have to
set the format to [Red]@. The @ bit actually displays the text.
On 13 Oct 2004 08:00:41 -0700, Dwight <dw*******@hotm ail.com> wrote: I need to change the colour of text values within a table. For example "Software" being red, "Lab Software" blue etc. To change colour of number values simply, 1[red], entered into the format section of design view makes the number 1 red. But dosnt work for text. Can anyone help.
--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
I wasn't aware you could change colors of anything in a table. Why
would you want to do this anyway, since users should never see the
table anyway. dw*******@hotma il.com (Dwight) wrote in message news:<f0******* *************** ***@posting.goo gle.com>... I need to change the colour of text values within a table. For example "Software" being red, "Lab Software" blue etc. To change colour of number values simply, 1[red], entered into the format section of design view makes the number 1 red. But dosnt work for text. Can anyone help.
Thanks this has helped,
But do you know how i can change the colour of multiple values. I.E i
want "Software" to be red, "Lab Software" to be gren etc. When i enter @
it changes all the values to that colour.
When using numbers this works.(in the format property)
1[red];2[green];3[blue]. So then each number is colured differently.
Just can't do it with text.
Any help would be appreciated.
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: kiko |
last post by:
How can I change the output text colour?
Here is part of example source code:
....
textcolor(4);
cout << "text";
....
The "cout" doesn't work with "textcolor".
I don't want to use "cprintf".
Thanx.
|
by: Geoff |
last post by:
Being new to javascript, I'm stuck on what is obviously a simple thing.
I have a script which finishes with a document.write statement to
print the result to the screen. This is all working OK, but how do I
change the colour of the text and make it bold?
I tried adding style.color = "yellow"; before the write statement,
but the colour was still black.
Any advice would be much appreciated.
|
by: Robert T |
last post by:
Hi
I would like to change the title property(the hint displayed when you
move over it) of an elements colour/and or text size. Is this possible
Can I change the title property's (hint on mouseover) text colour etc
Thanks
|
by: garyusenet |
last post by:
I'm using krypton toolkit which has allowed me to make a cool looking
form. However, when I set my textbox to disabled it is 'greyed' out.
The grey colour isn't in keeping with the office 2007 style look of my
form. How can i change the colour that control assumed when it's
disabled?
Thanks!
Gary-
|
by: helraizer1 |
last post by:
So far I have
function color()
{
var box = document.getElementById('message');
box = box.style.color = "#FF0000";
}
| |
by: maheshgupta0248 |
last post by:
Hi All,
I have created a dialog based application in vc++ which includes some buttons.I want to give different colours for their borders and also for the text on them.Can u pls provide solution for my problem?I have used CTLCOLOR_BTN and OnCtlColor to change the colour but this will change the whole button color i want to change only text present on the button.
Thank u .
|
by: gavy7210 |
last post by:
hello
i am using struts 1.2,Eclipse Platform Version: 3.4.2,mySql 5.0.1,jdk 1.5..
i have a login form(jsp) in which a user logs in,in case he doesnt enter his username and/or password an error is displayed using the <ul> tag and <html:errors> in the jsp. in the from class a vaidate method creates an actionerrors object adds all the errors to it and finally returns it.
the ids are linked in messageresources.properties and appropriate...
|
by: neelsfer |
last post by:
I have specific medicines in a table consisting of about 3000 records, that cause problems when its captured at stocktake every year.
My question - can i change the colour of these spedific records to Blue, if one of the items are called up, in the stocktake capturing form.
I presume that the Medicine table (Fis_ItemT) should have an extra field, and if that item appears in the Stocktake capturing form, then this extra field will tell...
|
by: Sushil Mishra |
last post by:
Hi guys,
I'm new to Visual basic. M using vb studio 2010. started it today. Learnt to build a notepad using rich text box.Now i want to change the colour of specific words/syntax as soon as they are typed in the rich text box. the string would be a mixer of words and numbers. I want specific words in Blue and the numbers in red. I want to use regex and change the this colour as soon as they r typed.
please guide me.
Thanx in advance
|
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 usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |