TreeSetNodeSelectedImageAt method (WinStudio scripts)
Applies To
IWSFormComponent interface, tree objects
Definition
Sets the image for a specific node in the selected state to display.
Syntax
object.TreeSetNodeSelectedImageAt( string1, string2 )
Part | Description |
object | Required. A reference to a valid tree component object. |
string1 | Required. The tree node ID (GUID) or node index series. |
string2 | 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.
Examples
ThisForm.Components("graph1").TreeSetNodeSelectedImageAt("My Tree Node ID", "MyImage.png")
ThisForm.Components("graph1").TreeSetNodeSelectedImageAt("2,0", "MyImage.jpg")
Rubriques liées