Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Coloring a container/textbox in a grid colum
Message
 
À
26/03/2001 08:32:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00488524
Message ID:
00489044
Vues:
9
Been there done that, didn't work. Thanks for the suggestion.

>Steve,
>
>Have you tried using the Gotfocus of the textbox? and then reset it in the lostfocus?
>
>Will
>
>>I have a grid that has a container in column 1 of a grid. There are several different composites created with this container which has a textbox and an image on it. The .DynamicCurrentControl runs a method in the grid to determine which is "current". I would like to change the colors of the textbox when a user clicks on it. The .ControlSource for the textbox is a field in the cursor.
>>There is also a field that is changed (and correctly) when the user clicks. This field is evaluated to determine what color to change the textbox to. It works except for one thing, the textbox does not change color on the click and won't change color until the textbox has lost focus. Any suggestions as to how to force the color to change immediately on the click? I've tried lots of things to no avail.
>>
>>Thanks,
>>Steve
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform