TreeSetNodeSelectedImageAtTreeLevel method (WinStudio scripts)
Applies To
IWSFormComponent interface, tree objects
Definition
Sets the image for a specific tree level in the selected state to display.
Syntax
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. |
Remarks
The image can be defined using an explicit file path; otherwise, WinStudio uses the current working directory to locate the image file.
Example
ThisForm.Components("graph1").TreeSetNodeSelectedImageAtTreeLevel(1, "MyImage.png")