Solved

Show color dialog box

Posted on 2012-03-09
4
443 Views
Last Modified: 2012-03-09
I am wanting users to be able to click a button and choose the color they want the backround color of the textbox to be.  I then want the color number to be put in a hiddent textbox field.  I have written the code to save the color number just need the dialog box for color to pop up.
Thanks in advance
0
Comment
Question by:russell12
  • 3
4 Comments
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform) earned 500 total points
ID: 37702937
Here you go:

Calling Windows Choose Color Dialog
http://access.mvps.org/access/api/api0060.htm

mx
0
 
LVL 75
ID: 37702961
NOTE:  Occasionally that site is down lately, or sporadically 'service not available'.  Ran into that just now ... kept trying

And there is this, where I think most of the other code originated from:

http://www.lebans.com/fontcolordialog.htm

mx
0
 
LVL 2

Author Closing Comment

by:russell12
ID: 37702986
Thank you for the quick response, It works PERFECTLY!!!!!
0
 
LVL 75
ID: 37703005
Were you able to get to the MVPS site ok?

Keep those links (Lebans and MVPS.org/Access) ... two of the VERY BEST Access sites ever.

mx
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question