realbasic-nug
[Top] [All Lists]

Re: Hiding a popup window

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Hiding a popup window
From: John McKernon <mckernonjunk at earthlink dot net>
Date: Mon, 31 Dec 2007 12:23:18 -0500
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Thread-index: AchL0dVdE+FRpLfFEdyTQAAbY5Keog==
Thread-topic: Hiding a popup window
> I have a sprite surface that has a number of points marked on it. When
> I move the mouse near one of them, I am popping up a small window with
> information about the point (number, location, distance from previous
> point). That works great. My problem is hiding the popup window.
> 
> I would like to hide the popup window when the mouse moves again.
> However, if I put "PopupWin.Hide" in the mouse move event for the
> window  containing the sprite surface, it doesn't work, because the
> popup window has the focus.

Make the Popup window a Floating Window, what's what I do and it works like
a charm.

- John


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

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


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