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:
01196841
Vues:
7
Hi Bob
I had tried that, but it applies the back color to the entire column [I used THIS.col1.dynamicbackcolor = STR(RGB(0,255,0)) in the afterrowcolchange event ]. I want it to apply just to the left most cell in the row.

Barry.

>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform