Is there a method for getting Scrollview to work in a GUILayout Window?

Is there a method for getting Scrollview to work in a GUILayout Window?

When I try to do this, the window is non dragable and flickers.

This seems to be a bug and is currently under investigation.

I keep seeing people having trouble with this. Are you trying to do something like this:

var scrollViewVector : Vector2 = Vector2.zero;
var innerText : String = "I am inside the ScrollView";
var test1 : int = 0;

function OnGUI () {
    if(GUI.Button(Rect(0,0,100,50), "Click here"))
    {
        test1 = 1;
    }

    if(test1 == 1)
    {            
        var windowRect = Rect ((Screen.width/2) - 400, (Screen.height/2) - 300, 800, 600);
        windowRect = GUI.Window (0, windowRect, TestScrollView, "");
    }
}

function TestScrollView(windowID)
{
    // Begin the ScrollView
    //GUI.Box(Rect(0,0,500,500), "Hello");
    scrollViewVector = GUI.BeginScrollView(Rect(25, 25, 100, 100), scrollViewVector, Rect(0, 0, 400, 400));

    // Put something inside the ScrollView
    innerText = GUI.TextArea(new Rect(0, 0, 400, 400), innerText);

    // End the ScrollView
    GUI.EndScrollView();
}