Page History
...
Pos | Name | Type | Description |
---|---|---|---|
<1, 1> | Key | Text | The image's unique key |
<1, 2> | Image | Formatted String | The path and filename to the image |
<1, 3> | Transparent Color | Formatted String | The color to be transparent, if the image does not contain transparency already |
Each global image must be assigned a unique key so it can be easily accessed later. Once the global images are loaded, you can utilize them by setting the ItemImage or ImageConditions properties.
For more information on using images, see Item Images tutorial in the Using SRP OLE Tree section.
...
Code Block |
---|
// Load global images for a tree that groups boys and girls into teams Images = "" Images<1> = "Boy":@VM:"BMPS\BOY.BMP" Images<2> = "Girl":@VM:"BMPS\GIRL.BMP" Images<3> = "Blue":@VM:"BMPS\BLUE.PNG" Images<4> = "Red":@VM:"BMPS\RED.PNG" Images<5> = "Gray":@VM:"BMPS\GRAY.PNG" Set_Property(@Window:".OLE_TREE", "OLE.Images", Images) |