Page History
...
The easiest way to set images is by using the ImageConditions property. See Item Images for more details.
Example
Code Block |
---|
// Set the Item1 image to the global image whose key is "Employee" Set_Property(@Window:".OLE_TREE", "OLE.ItemImage[Item1]", "Employee") // Set the Item2 image to a file Set_Property(@Window:".OLE_TREE", "OLE.ItemImage[Item2]", "C:\MyImage.png") |