realbasic-nug
[Top] [All Lists]

Re: Drawers opening on windows in the background

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Drawers opening on windows in the background
From: Bryan Lund <blund at mac dot com>
Date: Thu, 31 Jul 2003 00:24:10 -0700
Here's a teeny tiny project that shows it:
http://homepage.mac.com/blund/DrawerTest.dmg.gz

Only two little lines in the MouseEnter event of the Window:

  myDrawer.showwithin(myWindow, 2)
  myWindow.title = "Mouse In"

On my machines (running RB 5.2 and OS X 10.2.6) when the app is in the background the second line of code is executed but not the first (ie the drawer never opens but the window title changes). Yet it works fine when the window is frontmost. Maybe my machines are just horked. Anyone else see this?

-Bryan

On Wednesday, July 30, 2003, at 11:59 PM, Seth Willits wrote:

On Wednesday, July 30, 2003, at 10:22  PM, Bryan Lund wrote:

Are we supposed to be able to open (and close) drawers on windows that are not frontmost?

The following code does nothing when "Window1" is in the background (aka not frontmost):
myDrawer.showWithin(Window1, 2)

Works for me.


Seth Willits
----------------------------------------------------------------------- ----
President and Head Developer of Freak Software - http://www.freaksw.com
Q&A Columnist for REALbasic Developer Magazine - http://www.rbdeveloper.com
Webmaster for REALbasic Game Central - http://www.freaksw.com/rbgames

"Lots of folks confuse bad management with destiny."
    -- Kim Hubbard
----------------------------------------------------------------------- ----


---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>

Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>



---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>

Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
.


<Prev in Thread] Current Thread [Next in Thread>