Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!maytag!vlsi!fchan From: fchan@vlsi.waterloo.edu (Francis Chan) Newsgroups: comp.lang.smalltalk Subject: Re: Closing TopPanes explicitly ? Message-ID: <263@vlsi.waterloo.edu> Date: 19 Jan 90 19:26:52 GMT References: <485@DB0TUI11.BITNET> Reply-To: fchan@vlsi.waterloo.edu (Francis Chan) Organization: U. of Waterloo, Ontario Lines: 17 In article <485@DB0TUI11.BITNET> MUHRTH@DB0TUI11.BITNET (Thomas Muhr) writes: > .. >I would like to have the option of having a TopPane open AND on top until >and only until the close-icon is clicked, NOT by (mistakenly) clicking in >a window which is partly overlapped by the top window. > .. >Thomas Pretty simple. Go to the TopPane method 'hasCursor'. Change the last statement "^super hasCursor" to "^true". This means that anything outside the current topPane frame and the "active" (i.e. belonging to the current topPane) subpanes will be considered part of the topPane itself. Hope this helps. Francis Chan