Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to show color selection on a form?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00469345
Message ID:
00469355
Vues:
10
Joe,
You might add a method to the form that stores the color to the table and to a form property and then displays it. If the form property is empty it can go directly to the table for the existing value.

That way you're only calling a single method -all the code in one place.

HTH
Barbara

>I have a form with a pageframe. On one of the pages I would like
>to show a color that a user has chosen in a small block. The color
>number is stored in a table. Right now I have a command button that
>calls getcolor(), stores the value in the table and sets the
>backcolor of a container on a page on the pageframe to show what color was
>picked. This seems cumbersome especially when starting the form since I
>have to set the container color from the table. Is there a better way to do
>this?
Barbara Paltiel, Paltiel Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform