Page History
Global images to appear next to tree items.
Usage
Code Block |
---|
Set_Property(OLECtrlEntID, "OLE.Images", StringValue) |
Values
StringValue can be any string meeting the following format requirements:
Syntax: @FM delimited list of images
Default: ""
Remarks
The Images property allows you to load global images to be used by the tree items. Using global images decreases memory usage in scenarios in which many items use the same image. Take advantage of this property by passing a list of images. Each field of this property loads a separate image using the following multivalue structure:
...
For more information on using images, see Item Images tutorial in the Using SRP OLE Tree section.
Example
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) |