Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid: How do you display data-bound bitmap images in grid?
Message
De
25/03/1998 14:09:00
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Grid: How do you display data-bound bitmap images in grid?
Divers
Thread ID:
00087099
Message ID:
00087099
Vues:
109
VFP 5.0a: The grid on my form is bound to a table that has several logical (boolean) fields. Instead of displaying the usual ".T." or ".F." or checkbox in the grid, I would like to display a bitmap image indicating the state of the logical field (i.e., the grid cell would show a green star bitmap if the field were .T. and a red stop-sign bitmap if the field were .F.). I added an image control to the appropriate columns, set it as the currentControl, and set Sparse to false. When the form is run, the grid does indeed show bitmap images in each row. However, the bitmap is the SAME in every row. The bitmap does not change to indicate the true state of the bound logical field.

How can I set the grid up so that the appropriate bitmap image will be shown based on the field logical value?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform