How I can display image?

Luc

Member
I'm working with a files_TreeBox, when I select a file, I would like to display the image into a container like an imageBox, or pictuerBox.
How I can create image container ?

this.files_TreeBox = new TreeBox( this );
this.files_TreeBox.multipleSelection = true;
this.files_TreeBox.rootDecoration = false;
this.files_TreeBox.numberOfColumns = 1;
this.files_TreeBox.headerVisible = false;
this.files_TreeBox.onNodeClicked = function()
{
console.show();
console.writeln(this.dialog.files_TreeBox.child( 0 ).text( 0 ));

var img = ImageWindow.open( this.dialog.files_TreeBox.child( 0 ).text( 0 ));
...
display img to a container ????
....
}
 
Back
Top