Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Improved control of Color Picker
Message
 
To
16/10/2005 13:17:47
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
01059486
Message ID:
01059505
Views:
8
>George--
>>
>>Personally, I think that's an omission in the documentation. The control does have a ShowColor method. Perhaps the FFC isn't the best place to look.
>
>You are right.
>
>I found a discussion on Steve Black's Wiki on the Common Dialog. At the moment I am using:
>
>
>   loComDialog = NewObject( "mscomdlg.commondialog" )
>   loComDialog.Flags = 2
>   loComDialog.ShowColor()
>
>
>I am now struggling to center the Color window and to set the initial color. The Object Browser is helping, There is a constant for setting the initial color, but it is not quite clear how to use it.
>
>
Tim,

All of the common dialog controls are placed down and to the right of the window that calls them. In order to control this, you should place the control on a form and adjust from there.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform