gettingstarted
[Top] [All Lists]

Re: Active window

To: rbnube at mabenterprises dot com, Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Active window
From: Barrie Jones <barrie at spamcop dot net>
Date: Sat, 27 Nov 2004 12:29:33 -0500
Cc:
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <000001c4d4a2$b0b41980$139793ac at mikesxp>

On Nov 27, 2004, at 12:01 PM, RBNUBE wrote:
Thank you. yes, that helps a lot.
Barrie

Window(0) is the frontmost window.  If you have a print dialog window,
this would probably be the print dialog window and Window(1) would
probably be the window you are wanting to print.  If there is no print
dialog window, you would probably want Window(0).

HTH


-----Original Message-----
From: gettingstarted-bounces at lists dot realsoftware dot com
[mailto:gettingstarted-bounces at lists dot realsoftware dot com] On Behalf Of
Barrie Jones
Sent: Saturday, November 27, 2004 11:50 AM
To: RealBasic getting Started
Subject: Active window


How do I find the current active window in the following context? In
response to a menu "Print..." selection the program needs to know
what to print as follows:
SELECT CASE  ActiveWindow <-------- ????? self.Title ?????
CASE Window1
CASE Window2
END SELECT

Thanks
Barrie

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

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

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

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>


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

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

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