Trevor Mifsud
asked on
how to put an image in a infopower grid cell ...
Hi Experts,
Im having an issue trying to get a tick and a cross embedded in the first column of a Infopower TwwDBGrid.
What im trying to do, based on a column in the grid i want to put a tick or a cross.
I want the field to be a calculated field like that its an easy representation for people looking at the grid, instead of highlight the rows in different colours.
Thank you in advance.
Trevor
Im having an issue trying to get a tick and a cross embedded in the first column of a Infopower TwwDBGrid.
What im trying to do, based on a column in the grid i want to put a tick or a cross.
I want the field to be a calculated field like that its an easy representation for people looking at the grid, instead of highlight the rows in different colours.
Thank you in advance.
Trevor
There is an event on the grid for drawing the cells in a custom manner. I would use that event to draw the image to the cell. The drawing could be based on a calculated field that would be a 1 or 0, then use that field to determine which image to draw.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.