|
-
May 24th, 2001, 01:02 PM
#1
Thread Starter
New Member
Problem with colors
Hi there!I have made one little program with colors but I have this problem.While in my PC the backcolor of the form is red=216 green=208
blue=200 when i run it in another computer it doesn't work out as in this computer the backcolor of the form is red=192 green=192 and blue=192.I appreciate if anyone can help me!
-
May 26th, 2001, 07:03 PM
#2
PowerPoster
The backcolor is &H8000000F& by default which depends on the system, therefore it's the color the user selected in his display properties..
If you want the Form/Label/whatever to have the same color on every computer you need to set the color to a absolute value like &H00C0C0C0&.
All colors beginning with &H80... are system-dependant..
-
May 28th, 2001, 08:59 AM
#3
Frenzied Member
Also, that kind of colors only display properly in 24-bits color resolutions. If he has 16-bits or 8-bits, they'll be "rounded" to another color.
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
|