Re: [BLACKBOX] Views - Size at opening

From: Douglas G. Danforth <"Douglas>
Date: Fri, 30 Mar 2012 17:17:06 -0700

----boundary-LibPST-iamunique-1265491377_-_- Content-type: text/plain Folks, Here is an even simpler way to change the size of a view (a text view in this case) view := TextViews.dir.New(text); Views.OpenAux(view, title); win :=Windows.dir.First(); win.SetSize(w, h); This requires that 'Windows' be used in addition to the pointer to the view you are given. -Doug Danforth ---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy ----boundary-LibPST-iamunique-1265491377_-_- Content-type: text/html Folks,

Here is an even simpler way to change the size of a view (a text view in this case)

        view := TextViews.dir.New(text);
        Views.OpenAux(view, title);
        win :=Windows.dir.First();
        win.SetSize(w, h);

This requires that 'Windows' be used in addition to the pointer to the view you are given.

-Doug Danforth

---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy ----boundary-LibPST-iamunique-1265491377_-_--- Received on Sat Mar 31 2012 - 02:17:06 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:04 UTC