|
-
Oct 20th, 2001, 05:42 PM
#1
text color help
Hi! I was looking for some help about text color and caught your site. I am working on a project where the text in between two fields from a table retrieved by SQL should be shown in different color.
strsql = "select field1 & "" some text"" & field2 as field from table"
the result is put in a list box and i have to change the color of "some text". How is this possible? Any help?
My email: [email protected]
your kind advice is very much appreciated.
-
Oct 20th, 2001, 07:46 PM
#2
Frenzied Member
What is wrong with using the listbox's forecolor property.
i.e. Listbox.ForeColor = vbRed.
Mega.
"If at first you don't succeed, then skydiving is not for you"
-
Oct 20th, 2001, 08:24 PM
#3
Fanatic Member
Here is a suggestion. It's a very simple example using an RTF box.
-
Oct 21st, 2001, 01:42 PM
#4
listbox text color
I tried all the methods but couldn't succeed. Each listbox item should be "some text-redtext-sometext". normally listbox doesn't have these capabilities.. but is there a workaround...
-
Oct 21st, 2001, 03:32 PM
#5
Addicted Member
something like that?
-> Text redtext othertext ??
no idea!
cya
Old enough to know better,
but young enough to don't give a ****!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|