Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing Grid text box colour
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01196832
Message ID:
01196838
Vues:
9
Hello Barry

You want to be using the DynamicBackColor property of the column to do that.

Bob

>I have a grid which displays orders (5 columns of information). I want to set up the grid so that when the user clicks on any row, the text box in the leftmost column of THAT row is immediately highlighted in a different colour - say RGB(0,255,0).
>
>I have tried setting the backcolor property of the appropriate textbox (mygrid.col1.text1.backcolor) to RGB(0,255,0) in the AfterRowCol change event and issuing a refresh on the textbox. But it only shows up as RGB(0,255,0) when the user clicks on the cell.
>
>Is it possible to get the cell to show the appropriate colour without clicking on it?
>
>Thanks for any advice
>Barry
'If the people lead, the leaders will follow'
'War does not determine who is RIGHT, just who is LEFT'
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform