Page History
...
To index an image, simply pass an integer. Integers are treated as indexes into the ImageList property image, which only works if the ImageList property has been set before this one.
...
Cell's can contain both images and text. See the CellImageLayout and CellAlignment properties for more details.
...
Code Block |
---|
// Load the image list and set cell (1, 1) to use the second frame Set_Property(@Window:".OLE_EDITTABLE", "OLE.ImageList", "c:\tableimage.bmp":@FM:3) Set_Property(@Window:".OLE_EDITTABLE", "OLE.CellImage[1; 1]", 2) // Load an BMP image directly into the cell, using no transparent colors Set_Property(@Window:".OLE_EDITTABLE", "OLE.CellImage[1; 1]", "c:\image.bmp":@FM:"None") // Load an PNG image directly into the cell, transparent color is embedded in PNG, so no need to specify Set_Property(@Window:".OLE_EDITTABLE", "OLE.CellImage[1; 1]", "c:\image.png") |