473,320 Members | 1,713 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,320 software developers and data experts.

Why does A97 show a number like -2147483630 as the ForeColor property of a control?

MLH
I have a command button with black letters on it. The default value
in A97's forecolor property for that button is -2147483630. I didn't
choose the color. That was the default when I created the button.
I don't know of any negative color values. But, it seems to work and
A97 insists on using the negative value. Why is that? And why not
just use zero as the value?
Nov 13 '05 #1
6 1826
On Fri, 22 Jul 2005 13:01:56 -0400, MLH <CR**@NorthState.net> wrote:
I have a command button with black letters on it. The default value
in A97's forecolor property for that button is -2147483630. I didn't
choose the color. That was the default when I created the button.
I don't know of any negative color values. But, it seems to work and
A97 insists on using the negative value. Why is that? And why not
just use zero as the value?


look up system colors in Help, if you are fortunate enough to be using a version
of Access that has it easily to hand.
The - sign is because it is being printed as a signed decimal number.

Nov 13 '05 #2
MLH wrote:
I have a command button with black letters on it. The default value
in A97's forecolor property for that button is -2147483630. I didn't
choose the color. That was the default when I created the button.
I don't know of any negative color values. But, it seems to work and
A97 insists on using the negative value. Why is that? And why not
just use zero as the value?


you can use zero, but that's black.

The negative numbers aren't colours gleaned from RGB values but refer to
system colours so if you change the colours in Windows' control panel
then your objects will change colour too.

--
[OO=00=OO]
Nov 13 '05 #3
MLH
Aaaaahaaaaa!

Knew nothing about that. Sounds like I may want to keep
this in the back of my mind though. Am rolling out apps that
may go onto systems whose system colors have been modified
in the control panel. So, knowing this now, in what situations might
this feature be of use to me?
Nov 13 '05 #4
MLH
OK, I get it. Allowing A97's default choice of system color for the
selected object could be any color chosen by a user on a target
installation box - something the user has already selected as a
(hopefully) pleasant color scheme. It might show up as black for
me on my development box - but chartreuse for someone else.

Thanks for the heads up.
Nov 13 '05 #5
MLH wrote:
Aaaaahaaaaa!

Knew nothing about that. Sounds like I may want to keep
this in the back of my mind though. Am rolling out apps that
may go onto systems whose system colors have been modified
in the control panel. So, knowing this now, in what situations might
this feature be of use to me?


Warn people to not use the hotdog colour scheme from Win3?

--
[OO=00=OO]
Nov 13 '05 #6
MLH <CR**@NorthState.net> wrote in
news:nc********************************@4ax.com:
Aaaaahaaaaa!

Knew nothing about that.


Have you actually read the section of the A97 help file that details
all the new features? I strongly suggest that you drop everything
you're doing and do so, as the vast majority of your recent
questions here are related to cases where you are simply stuck in
Access 2 ways of thinking and are unaware of the massive number of
changes in A97.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 13 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: lawrence | last post by:
Maybe its late and I'm tired but I don't understand what I'm seeing on the screen. I have this block of code: $choiceMade = $_GET; if ($simpleMode == "y" && $choiceMade == "") {...
6
by: lawrence | last post by:
I've spent some time going over this page: http://dev.mysql.com/doc/mysql/en/Data_Manipulation.html And so far it seems the answer is no. So I thought I'd ask here. Does anyone know of any...
2
by: Mike | last post by:
I am sure that I am making a simple boneheaded mistake and I would appreciate your help in spotting in. I have just installed apache_2.0.53-win32-x86-no_ssl.exe php-5.0.3-Win32.zip...
15
by: oom | last post by:
I am a bit of a newbie when it comes to python, when working with lists today I noticed some very odd behaviour, any suggestions welcome: Python 2.2.3 (#1, Nov 6 2003, 14:12:38) on linux2...
1
by: Hugo Botha | last post by:
Hi, I have created 2 asp pages called testa.asp and testb.asp testa.asp has a link to go to next page testb.asp testb.asp has a form that ask you for a reference number and post it to the...
14
by: greenflame | last post by:
a = , ] b = , ] function addarr(A,B) { C = A; for (i=0;i<A.length;i++) { for (j=0;j<A.length;j++) {
2
by: barb28 | last post by:
Hello, sometimes I have noticed that in web addresses, the number: 20% will show up in the address. I think this is somehow related to a 'blank space', but am unsure, does anyone know about...
18
by: Daniel | last post by:
Hey guys I have an instance of an object say: List<Object> myList = new List<Object>(); Object myObject = new Object(); myObject.PositionVector = new Vector3(10,10,10); ...
130
by: Daniel Manes | last post by:
I'm baffled. I have a column in a SQL Server Express database called "Longitude," which is a float. When I view the table in a DataGridView, some of the numbers, which only have two decimal places...
1
oranoos3000
by: oranoos3000 | last post by:
hi would you please help me i have a online shopping center that i show pictures of the my product in home page. in the InterExplorer pictures is shown correctly but in Firefox browser is shown...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.