Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Direct File Loading is done by passing a 2-field dynamic array into the property in the format: FilePath:@FM:TransparentColor. The FilePath must point to a valid image file. The TransparentColor can be set to "Auto", "None", or a specific color value. If omitted, the default is Auto, which uses the top left pixel to determine the transparent color.

Refer to the Image type documentation for more details on loading images.

...

Cell's can contain both images and text. See the CellImageLayout and CellAlignment properties for more details.

Example

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")

...