Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to show color selection on a form?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00469345
Message ID:
00469355
Views:
9
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform