realbasic-nug
[Top] [All Lists]

Re: The "Line" control

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: The "Line" control
From: Jim Payne <info@spiffycharts.com>
Date: Tue, 28 Apr 2009 13:32:29 -0500
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <49F51DA8.8020907@inspiringapps.com>
References: <C6A5841D-E713-467B-8B53-2752A70CC315@forestmgt.com> <49F51DA8.8020907@inspiringapps.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
User-agent: Thunderbird 2.0.0.21 (Macintosh/20090302)

TJ Hanson, PhD wrote:

The coordinates refuse to change to the numbers I enter. This behavior did not occur in prior versions of RB. Is anyone else having similar problems with the Line control. Is this a bug?
TJ:

You can move the line easily by changing the X1, X2, Y1 and Y2 properties of the line.

While using a Canvas may sound appealing there is an inherent difference that can bite you if you use Events like mousedown. A Canvas will fire the event with any mousedown anywhere in the bounding rectangle, not just on the line. This can be a major problem if you use a slanted line.

Jim Payne (also PHD)

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