how to put same isw.window into a tab pane?

Is it possible to have two or three isc.window into a pane in a tab?
Any examples is appreciated.

Thank you

isc.Window works like any other component, it can be a member of a Layout, which can be used for tab.pane.

I can’t move my isc.window into a tab.pane

Thank you for your response.
I have this code (SmartClient 7.0b):

.............
isc.TabSet.create({
ID: "topTabSet",
tabBarPosition: "top",
overflow: "hidden",
height: "95%",
tabs: [
       {title: "Tab1",
       pane:isc.Layout.create({
               width: "100%",
	  members: [
		   isc.Window.create({
		   width: 200,
		   height: 200,
		   items: [
		   ...................
                             ]}),
		   isc.Window.create({
		   width: 200,
		   height: 200,
		   items: [
		   .....................
		   ]})
	  ]})},
              ..................

And I can’t move my windows.

Why?

You need to enable dragging.

This is starting to look similar to the portal example from the showcase. Recommend you take a look at that, it’s easy to embed the entire portal interface inside a tab if that’s what you want to do.

Help

I have deleted all my code and with this code (SmartClient 7.0b),
I can’t move my window.
:

<HTML>
<HEAD>
    <SCRIPT>var isomorphicDir="isomorphic/";</SCRIPT>
    <SCRIPT SRC=isomorphic/system/modules/ISC_Core.js></SCRIPT>
    <SCRIPT SRC=isomorphic/system/modules/ISC_Foundation.js></SCRIPT>
    <SCRIPT SRC=isomorphic/system/modules/ISC_Containers.js></SCRIPT>
    <SCRIPT SRC=isomorphic/system/modules/ISC_Grids.js></SCRIPT>
    <SCRIPT SRC=isomorphic/system/modules/ISC_Forms.js></SCRIPT>
    <SCRIPT SRC=isomorphic/system/modules/ISC_DataBinding.js></SCRIPT>
    <SCRIPT SRC=isomorphic/skins/TreeFrog/load_skin.js></SCRIPT>
</HEAD><BODY>
<SCRIPT>
isc.TabSet.create({
        ID: "topTabSet",
	tabBarPosition: "top",
	width: "100%",
	height: "100%",
	tabs: [
 	    {title: "Tab1",
	     pane:
	 	isc.Window.create({
		width: 200,
	        height: 200,
		canDragReposition : true,
		items: [
		]})
	     },
	     {title: "Tab2"
	     },
	]
});
</SCRIPT>
</BODY>
</HTML>

Solution

Well, this code is Ok for me.
I use a isc.Canvas.children and put isc.windows into it.

Thank you

<HTML>
<HEAD>
    <SCRIPT>var isomorphicDir="isomorphic/";</SCRIPT>
    <SCRIPT SRC=isomorphic/system/modules/ISC_Core.js></SCRIPT>
    <SCRIPT SRC=isomorphic/system/modules/ISC_Foundation.js></SCRIPT>
    <SCRIPT SRC=isomorphic/system/modules/ISC_Containers.js></SCRIPT>
    <SCRIPT SRC=isomorphic/system/modules/ISC_Grids.js></SCRIPT>
    <SCRIPT SRC=isomorphic/system/modules/ISC_Forms.js></SCRIPT>
    <SCRIPT SRC=isomorphic/system/modules/ISC_DataBinding.js></SCRIPT>
    <SCRIPT SRC=isomorphic/skins/TreeFrog/load_skin.js></SCRIPT>
</HEAD><BODY>
<SCRIPT>
isc.TabSet.create({
        ID: "topTabSet",
	tabBarPosition: "top",
	width: "100%",
	height: "100%",
	tabs: [
 	    {title: "Tab1",
	     pane:
	 	pane:isc.Canvas.create({
		children: [
		      isc.Window.create({
		      width: 200,
		      height: 200,
		      canDragReposition : true,
		      items: [
		      ]}),
		      isc.Window.create({
		      width: 200,
		      height: 200,
		      left: 200,
		      canDragReposition : true,
                      keepInParentRect:true,
		      items: [
		      ]})	
		]
	     })},
	     {title: "Tab2"
	     },
	]
});
</SCRIPT>
</BODY>
</HTML>

Yup, that’s correct. For context, your problem before was that allow you had enabled dragging, your Window was still part of a Layout (the default behavior for a tabSet’s paneContainer) and so it’s position was still being managed by that layout instead of free dragging being allowed.