Versions Compared

Key

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

...

PosNameTypeDescription
<1, 1>KeyTextThe image's unique key
<1, 2>ImageFormatted StringThe path and filename to the image
<1, 3>Transparent ColorFormatted StringThe 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)

See Also

GlyphImagesImageConditionsImageEffectsItemImage