Click to See Complete Forum and Search --> : flexgrid.cellpicture & size


Rosa Eguizabal
May 16th, 2001, 07:52 AM
Hi everybody.
When I put an 16 x 16 icon in a flexgrid's cell with the CellPicture property, it show me an x-size icon, and the draw (picture) is big and ugly. Anyway it's not what I want to show. How can I do it? Any suggestion?
Thanks

shree
May 16th, 2001, 10:54 AM
An immediate solution, if you are not letting the user resize the cells is to use an image whose size equals the cell size, and the cross is on the top left corner.

Rosa Eguizabal
May 17th, 2001, 05:05 AM
Thanks !!! I've find the solution. The problem was that I run
set Flexgrid.CellPicture = Picture1.Picture

when I must run...
set Flexgrid.CellPicture = Picture1.Image

and, perhaps, don't let the user resized the cell
Thank you very much
Rosa