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: Seth Willits <seth at freaksw dot com>
Date: Thu, 31 Jul 2003 01:35:10 -0700

On Thursday, July 31, 2003, at 12:24  AM, Bryan Lund wrote:

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?


Ohhh in this the window wouldn't even be in the frontmost application. That's different than not being the frontmost window. That's why it doesn't work. Why? I don't know. But if you're still in your application but the window is behind another it works.



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

"Yesterday we obeyed kings and bent our necks before emperors. But
today we kneel only to truth, follow only beauty, and obey only love."
    -- Kahlil Gibran
------------------------------------------------------------------------ ---


---
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>