PC Review


Reply
Thread Tools Rate Thread

color data / color picker

 
 
Kim M.
Guest
Posts: n/a
 
      3rd Jul 2009
Hi.

In my database, each staff member has a specific color associated with them,
which becomes a pub variable when they log on, and becomes the background
color for all of their forms, etc.

Right now, in the staff set-up table/form, I have a field that contains the
long VB color code for each user. I would like for someone who is not
necessarily familiar with these codes to be able to choos a new personal
color for a user, ideally by using something like the color picker wheel that
pops up, for example, when you are choosing colors for parts of a form in
layout mode. Except that here, obviously, I am not setting the color of the
field, but rather the value of the color number data in that field.

Does anyone know how to do this?

TIA,
Kim M.
 
Reply With Quote
 
 
 
 
Tom van Stiphout
Guest
Posts: n/a
 
      3rd Jul 2009
On Fri, 3 Jul 2009 12:55:01 -0700, Kim M.
<(E-Mail Removed)> wrote:

Sure, that's quite possible using the ChooseColor windows api. Check
this out: http://www.mrexcel.com/forum/showthread.php?t=34891
This is about Excel, but it uses the same VBA that Access uses.

-Tom.
Microsoft Access MVP


>Hi.
>
>In my database, each staff member has a specific color associated with them,
>which becomes a pub variable when they log on, and becomes the background
>color for all of their forms, etc.
>
>Right now, in the staff set-up table/form, I have a field that contains the
>long VB color code for each user. I would like for someone who is not
>necessarily familiar with these codes to be able to choos a new personal
>color for a user, ideally by using something like the color picker wheel that
>pops up, for example, when you are choosing colors for parts of a form in
>layout mode. Except that here, obviously, I am not setting the color of the
>field, but rather the value of the color number data in that field.
>
>Does anyone know how to do this?
>
>TIA,
>Kim M.

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it Possible to Read a Color Value from a Data Source and Use it toSet the Color of a Button? Patrick A Microsoft Dot NET 4 8th Dec 2009 04:42 PM
Color Picker =?Utf-8?B?Sm9lIExpbmRzZXk=?= Microsoft Powerpoint 5 22nd Jun 2007 06:01 PM
Color picker / color matcher tool? Kathleen Anderson [MVP - FrontPage] Microsoft Frontpage 7 10th Dec 2006 03:35 AM
Color Picker in ASP.NET? VB Programmer Microsoft ASP .NET 1 2nd Jan 2006 08:23 PM
Color Picker My Name Freeware 17 2nd Dec 2003 07:14 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:11 PM.