|
-
Aug 2nd, 2004, 06:08 AM
#1
Thread Starter
Fanatic Member
form colour
Hi,
Is there a way where I can make my forms silver ie when you change the apperance of your computer you can change that to silver.
I want it so my forms frame will be silver, Not the back colour.
Thanks
Loftty
-
Aug 2nd, 2004, 06:49 AM
#2
Erm. Correct me if I'm wrong (my PC is strange), but doesn't that happen automatically? I changed my style to "Wheat" and in VB the frame was the new "Wheat" colour...
Phreak
Visual Studio 6, Visual Studio.NET 2005, MASM
-
Aug 2nd, 2004, 06:59 AM
#3
Thread Starter
Fanatic Member
yes you are correct.
But how can I have it so that my form will always be silver even if they have changed the style to Wheat or kept it as default blue.
If this is possible.
Thanks
Loftty
-
Aug 2nd, 2004, 07:17 AM
#4
-
Aug 2nd, 2004, 07:54 AM
#5
Thread Starter
Fanatic Member
Hi Thanks for the links very useful.
Is there a chart of numbers that will show what the colours are ie I have RGB(0, 0, 0) I want to know what the diffrent numbers are for each colour.
Just wondered if there was a chart for this or something.
Thanks
Loftty
-
Aug 2nd, 2004, 08:08 AM
#6
Frenzied Member
RGB(r,g,b)
r/g/b = amount of red/green/blue in the colour
If there was a chart it would have 16,777,216 combinations on it and wouldn't be very user friendly.
One way to find out the RGB of a colour is to
1. In VB, find a colour property (eg BackColor) for an item, and drop down the property box that displays all the colours.
2. Right click on one of the "empty" colours at the bottom of the pallette and a "Define Colour" box appears.
3. Find the colour you want and note down the RED/GREEN/BLUE values for it - you can then use these in your RGB function.
'Buzby'
Visual Basic Developer
"I'm moving to Theory. Everything works there."
-
Aug 3rd, 2004, 01:38 AM
#7
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
|