Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid textbox color in red if !empty(memo)
Message
De
29/09/2000 13:54:13
 
 
À
29/09/2000 13:37:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00422619
Message ID:
00422741
Vues:
8
Fred,
I don't believe that approach will work because she wants to set the row color based on a certain condition in the cursor that is the recordSource for her grid. In cases like these, I believe you need to use the dynamicbackcolor property of the grid columns to have one row red if the memo is not empty, and the one right next to it be white because the memo is empty.

>Then why not use yet a different approach:

>#DEFINE RED 255
>#DEFINE WHITE 16777215


>Control.ForeColor = RED
>Control.ForeColor = WHITE

>etc.

>This is probably the easiest to comprehend when looking at the code, too.
Paul A. Busbey
Victoria Insurance
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform