Hi,
I was just curious to know if there was a limit to the range of colors a
label control can display. For instance if I set a label control's ForeColor
to 28, 23, 15 it renders black (on my system, at least - but I'm running an
nVIDIA GeForce 440 MX 64MB card running in 32-bit color, which should be
plenty able to render that properly).
Anyway, it occurred to me that perhaps the label had a restricted color
range, and if this is the case, which other controls might this restriction
apply to?
thanks!
evan k. stone | software engineer
----------------------------------------
santa rosa, ca, usa 3 1183
Hello Evan,
There is no restriction here. You simply chose a color that is indistinguishable
from black to the normal human eye.
RGB(28, 23, 15) = HTML Color: #1C170F. Try that in yer fav web browser..
it'll still look black.
You need to raise the brightness level.
-Boo
Hi,
I was just curious to know if there was a limit to the range of colors
a label control can display. For instance if I set a label control's
ForeColor to 28, 23, 15 it renders black (on my system, at least - but
I'm running an nVIDIA GeForce 440 MX 64MB card running in 32-bit
color, which should be plenty able to render that properly).
Anyway, it occurred to me that perhaps the label had a restricted
color range, and if this is the case, which other controls might this
restriction apply to?
thanks!
evan k. stone | software engineer
----------------------------------------
santa rosa, ca, usa
Hi,
First of all it's not nice to crosspost to so many NGs , it's better to post
to just one.
There is no restriction at all. Post some code in case you do not solve your
problem
Also is this a web or a win app?
--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Evan Stone" <re*********************@hotmail.comwrote in message
news:Og****************@TK2MSFTNGP03.phx.gbl...
Hi,
I was just curious to know if there was a limit to the range of colors a
label control can display. For instance if I set a label control's
ForeColor to 28, 23, 15 it renders black (on my system, at least - but I'm
running an nVIDIA GeForce 440 MX 64MB card running in 32-bit color, which
should be plenty able to render that properly).
Anyway, it occurred to me that perhaps the label had a restricted color
range, and if this is the case, which other controls might this
restriction apply to?
thanks!
evan k. stone | software engineer
----------------------------------------
santa rosa, ca, usa
"Evan Stone" <re*********************@hotmail.comschrieb:
I was just curious to know if there was a limit to the range of colors a
label control can display. For instance if I set a label control's
ForeColor to 28, 23, 15 it renders black (on my system, at least - but I'm
running an nVIDIA GeForce 440 MX 64MB card running in 32-bit color, which
should be plenty able to render that properly).
I am wondering how you determine that the text is rendered in black...
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Terry E Dow |
last post by:
Howdy,
I am having trouble with the objectCategory=group member.Count attribute.
I get one of three counts, a number between 1-999, no member (does not
contain member property), or 0. Using...
|
by: subdhar |
last post by:
I'm getting following error in asp.net application.I search the web
and couldn't find error like this can any one help me in trouble with
this error
Specified argument was out of the range of...
|
by: John |
last post by:
Hello
I want to use the same data string (memo) to populate a "summary" asplabel. After the summary there would be a + "..." and a "see more..." link to the "complete" string contents - for the...
|
by: jcrouse |
last post by:
Many of you who may respond to this are somewhat familiar with my app in
process (Cor). Simply, it's a form with 30 labels that is triggered from
another application, with a hotkey. The labels text...
|
by: JohnyStyles |
last post by:
I have a templated user control which looks like this:
-----------------------------------------------------------------
<uc:MyUserControl runat=server>
<TemplateProperty>
</TemplateProperty>...
|
by: Nedim |
last post by:
first let me say sorry if this is in the wrong place, i'm pretty new to
programming and to be honest i am a bit intimidated by these forums.
now that i've got that out of the way, i was bored and...
|
by: Evan Stone |
last post by:
Hi,
I was just curious to know if there was a limit to the range of colors a
label control can display. For instance if I set a label control's ForeColor
to 28, 23, 15 it renders black (on my...
|
by: simchajoy2000 |
last post by:
Hi,
I need to calculate a range of colors given the beginning and ending
colors in hex values (i.e. blue to red). I know there is a logic to
hex numbers and there is probably a fairly simple...
|
by: shashi shekhar singh |
last post by:
Respected Sir,
I am facing problem when i try to deploy my website on iis 7.0 on test page.
i have to display some .mht files on iframe in gridview and error looks like below,
Server Error in...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
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
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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,...
| |