Solved

Show color dialog box

Posted on 2012-03-09
4
450 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

696 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