Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid: How do you display data-bound bitmap images in grid?
Message
From
25/03/1998 14:09:00
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Grid: How do you display data-bound bitmap images in grid?
Miscellaneous
Thread ID:
00087099
Message ID:
00087099
Views:
105
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?
Next
Reply
Map
View

Click here to load this message in the networking platform