WinStudio
IWSFormComponent interface, tree objects
Sets the image for a specific tree level in the selected state to display.
object.TreeSetNodeSelectedImageAtTreeLevel( integer, string )
Part |
Description |
object | Required. A reference to a valid tree component object. |
integer | Required. The tree level. |
string | Required. The image file name. |
The image can be defined using an explicit file path; otherwise, WinStudio uses the current working directory to locate the image file.
ThisForm.Components("graph1").TreeSetNodeSelectedImageAtTreeLevel(1, "MyImage.png")