>Could anyone point out a source or give an example how dynamically display pictures in a cell based let's say for simplicity on logical field value and resulting in two pictures checked/unchecked. I understand that it resembles checkboxes and column.sparse=.f. and it works with general field and current oleboundcontrol in cell , but can't figure out the way to make it work without saving pictures in a table. Something like : if field .t. show green "ticked" picture in grid cell otherwise red "crossed out" picture .
>
>Thank you
>Michael
Michael,
As I get it you only want it for checkboxes not image displaying (if image displaying check FAQ section).
For checkbox :
-Add checkbox to grid.columnx
-Set checkbox.downpicture to 'ticker bitmap'
-Set checkbox.picture to 'crossed out bitmap'
-Set checkbox.caption to none
-Set checkbox.style to graphical
-Set column.dynamiccurrentcontrol property to checkbox (typically 'check1')
-Set column.sparse to .f.
Done:)
Cetin