>George--
>
>>>I need to open the Color Picker with the Define Custom Color panel open. Once the Color Picker is open, Alt+D from the keyboard does the trick. I can't see any way to make this happen with GetColor () and KEYBOARD or Window Scripting Host.
>>>
>>>Is there some way to get this control using the Win 32 API?
>>>
>>>
>>
>>You could use the Common Dialog ActiveX control, but you may not be able to get the results you want. I'd suggest that you try setting the Flags property to CC_FULLOPEN (0x00000002) prior to calling the ShowColor() method. This is just a SWAG, BTW.
>
>I looked at the description of the Common Dialog Foundation Class in the VPP documentation. Am I looking in the right place?
>
>I did not see anything about color. The Common Dialog seems to be about selecting files, fonts, printers, etc.
>
>
>Tim
Hi Tim,
Here is an example of font picker (includes a color in the font dialog), and a color picker (full open)
Change VFP Object Font Style using MSComDlghttp://www.tek-tips.com/faqs.cfm?fid=4495Regards
Herman