Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to determine X,Y of grid for DynamicBackColor
Message
 
 
À
10/12/2003 09:21:35
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00857594
Message ID:
00857634
Vues:
27
Larry,
If you need to specify different attributes for each column in a grid and the information is stored in the array, you could use the column's ColumnOrder poperty to get the "position" if the column and use it when referencing array columns or rows.

HTH.

>I have a calculated attribute similar to FieldState for each value in a cursor and want to be able to change the background for each cell based the value of this attribute.
>
>Thanks,
>Larry
>
>>Hi Larry.
>>
>>I am trying to set the BackColor of a grid cell based on a calculated value (similar to FieldState). I currently have the calcualted values in an array with one element corresponding to each field in the cursor. My idea is to put a function in DynamicBackColor that uses the grid's X,Y position to refer back to the associated array.
>>
>>Rather than talking about how you are trying to implement this, it might be better to tell us what you are trying to accomplish. Then we can help you figure out the best way to implement.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform