Article View: comp.sys.mac.oop.macapp3
Article #175Re: ViewEdit question
From: John Werner
Date: Wed, 16 Dec 1992 22:43
Date: Wed, 16 Dec 1992 22:43
20 lines
1421 bytes
1421 bytes
[Note: followups redirected to comp.sys.mac.oop.macapp3.] In article <1992Dec16.214331.4233@u.washington.edu> Bob Cent writes: >I want to make a window with ViewEdit that can only be enlarged in >the vertical direction when one drags the "grow box" (a window like >you see when you configure a TView while in ViewEdit). The good news: TWindow has a fResizeLimits field that will do what you want. I think you just need to set fResizeLimits.left = fResizeLimits.right = your fixed size. The bad news: I don't think there's a way to set this with ViewEdit. You'll have to do it in the code, either by explicitly calling SetResizeLimits on the window, or by creating a subclass with a method (maybe DoPostCreate?) that automatically figures out the horizontal size, then calls SetResizeLimits. -- John Werner werner@soe.berkeley.edu UC Berkeley School of Education 510-642-9651
Technical Details
Message-ID:
<1gobeuINN381@agate.berkeley.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!dewey.soe.berkeley.edu!wernerReferences:
<1992Dec16.214331.4233@u.washington.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!dewey.soe.berkeley.edu!werner From: werner@dewey.soe.berkeley.edu (John Werner) Newsgroups: comp.sys.mac.oop.macapp3,comp.sys.mac.programmer Subject: Re: ViewEdit question Followup-To: comp.sys.mac.oop.macapp3 Date: 16 Dec 1992 22:43:42 GMT Organization: School of Education, U.C. Berkeley Lines: 20 Message-ID: <1gobeuINN381@agate.berkeley.edu> References: <1992Dec16.214331.4233@u.washington.edu> NNTP-Posting-Host: dewey.soe.berkeley.edu