Hi Liz
RGB(0,255,0) will give you the same as vbGreen.
To reduce the intensity of the green, reduce the 255 – I suggest you start with 128 (half strength) and play with it from there.
You can also add in a bit of red or blue by making the first and third arguments non-zero. For example, RGB(0, 128, 54) gives quite a good warm dark green.
Best wishes,
Graham [Access MVP since 1997]
From: MS_Access_Professionals@yahoogroups.com [mailto:MS_Access_Professionals@yahoogroups.com]
Sent: Friday, 28 August 2015 10:37
To: 'MS_Access_Professionals@yahoogroups.com' <MS_Access_Professionals@yahoogroups.com>
Subject: [MS_AccessPros] RE: color constant or line of code
Or me.lblthis.forecolor = rgb(0,255,0) = trying this so I may have this. Intellisense was helpful with my guess.
From: MS_Access_Professionals@yahoogroups.com [mailto:MS_Access_Professionals@yahoogroups.com]
Sent: Thursday, August 27, 2015 3:36 PM
To: MS_Access_Professionals@yahoogroups.com
Subject: [MS_AccessPros] color constant or line of code
Pros, I’m wanting something green but the vbGreen is lime. Do NOT like it. How do I get a dark green? Do I need to RGB it and how would that look?
Me.lblthis.forecolor = (0,255,0) ?
Respectfully,
Liz Ravenwood
Programmer / Analyst
B/E Aerospace | Super First Class Environments
1851 S Pantano Road | Tucson, Arizona 85710
Office +1.520.239.4808 | Internal 814-4808
beaerospace.com
Passion to Innovate. Power to Deliver
This email (and all attachments) is for the sole use of the intended recipient(s) and may contain privileged and/or proprietary information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
This email (and all attachments) is for the sole use of the intended recipient(s) and may contain privileged and/or proprietary information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
Posted by: "Graham Mandeno" <graham@mandeno.com>
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (3) |
Tidak ada komentar:
Posting Komentar