Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Colour of text or background of specifc rows in a grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00573481
Message ID:
00573486
Vues:
35
Sergey & Oscar.

That should do it.
Thank you both so much!

>You can use DynamicForeColor/DynamicBackColor properties of Columns
>DynamicForeColor = "IIF( Qty>0, RGB(255, 0, 0), RGB(0,0,0))"
>DynamicBackColor = "IIF( Qty>0, RGB(0, 0, 255), RGB(255,255,255))"
>
You can use SETALL() function to set all columns at once in the init of the grid.
>
>
>
>>Is it possible for specific rows of a grid to use a different colour text and/or background?
>>
>>The scenario is as follows:
>>The order entry screen for one of my clients displays all of the items that are available to be sold on pages in a page frame.
>>The sales rep. just keys in the quantities ordered.
>>I realize that we can use a checkbox in each row to indicate which rows have quantities entered.
>>However, the sales rep. would like these rows to be displayed in a different colour regardless of whether the row has the focus.
>>
>>Any suggestions?
>>TIA.
Regards,

Allan Coganovitch
allanc@proven-solutions.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform