Color Dialog Custom colors
- From: "J-Rod" <baconbits420@xxxxxxxxx>
- Date: 12 Apr 2006 07:20:07 -0700
Hi everyone/anyone,
I am using a button in my app that opens the color dialog, and allows
the user to select a color which changes the backcolor of a label. I
then store the color in my db as a hash value, since i found this to be
the easiest way to store it. However, i want the user to be able to
add custom colors. When they create a custom color within the dialog,
it is not saved there on returning to the dialog. I was thinking about
storing the custom colors in a file, then reading this file into an
array each time to populate the custom colors of the dialog, and then
re-writing the color values to file in order to retrieve them at a
later time. I am having problems finding an example where someone is
saving the custom colors that are created by the user. Am i going about
this the correct way? Any insight would be greatly appreciated!
.
- Follow-Ups:
- Re: Color Dialog Custom colors
- From: Ken Halter
- Re: Color Dialog Custom colors
- Prev by Date: Re: Check if TIF file in use
- Next by Date: Re: Can you tell me if this makes sense?
- Previous by thread: Connection to Access Db with a password?
- Next by thread: Re: Color Dialog Custom colors
- Index(es):