?
Solved

Show color dialog box

Posted on 2012-03-09
4
Medium Priority
?
456 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 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Microsoft Access has a limit of 255 columns in a single table; SQL Server allows tables with over 255 columns, but reading that data is not necessarily simple.  The final solution for this task involved creating a custom text parser and then reading…
Explore the ways to Unlock VBA Project Password Excel 2010 & 2013 documents. Go through the article and perform the steps carefully to remove VBA Excel .xls file.
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…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

809 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