Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where can I find a 'color picker' control
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00197923
Message ID:
00198010
Vues:
57
>I'm allowing my users to customize their colors (foreground, background, etc) and it would be really great to let the you VFP's color picker dialog box.
>
>Anybody know where I can find something like it (or tap into VFP's)?

It's not difficult to build your own, and make it nicer to use than GETCOLOR(), which has a lot of useless selections (and allows users to make ghastly color configurations with dithered messes :) Basically, you can create a form with labels containing at least the 16 standards, and then a list of objects which can be colored -- select an object, click on a color, which calls a method to color all the that type of object using Setall, for example...

I have my own reasons and situations for allowing color selections, but I'd take Craig's point about user Window settings seriously, too...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform