realbasic-nug
[Top] [All Lists]

Re: Keeping Windows on Screen Class

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Keeping Windows on Screen Class
From: Terry Ford <tmford at shaw dot ca>
Date: Thu, 28 Feb 2008 17:11:38 -0800
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <mailman dot 7335 dot 1204056361 dot 9216 dot realbasic-nug at lists dot realsoftware dot com> <p06240800c3ecf4f9629e at [192 dot 168 dot 0 dot 111]> <37D539CA-0A1A-42A8-A10E-901C402831DC at shaw dot ca> <12F792E1-7847-47AE-ABDA-4E435468DBB5 at shaw dot ca>
On Feb 28, 2008, at 5:09 PM, Terry Ford wrote:

>
> On Feb 28, 2008, at 4:56 PM, Terry Ford wrote:
>
>> Here's some code that could possibly be modified for multiple
>> screens. It's in the MouseDrag event of a window for screen(0) as is.
>
> Oops. I should have mentioned that FirstX and FirstY are Integer
> properties of the Window.

Boy am I bad.

These properties are set in the MouseDown event.

   // Save Initial Coordinates
   FirstX = X
   FirstY = Y

Terry


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