realbasic-nug
[Top] [All Lists]

Re: The "Line" control

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: The "Line" control
From: Karen <keatk@verizon.net>
Date: Tue, 28 Apr 2009 15:14:11 -0400
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: <49F74BBD.3090007@spiffycharts.com>
References: <C6A5841D-E713-467B-8B53-2752A70CC315@forestmgt.com> <49F51DA8.8020907@inspiringapps.com> <49F74BBD.3090007@spiffycharts.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com

On Apr 28, 2009, at 2:32 PM, Jim Payne wrote:

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

Not the point... It should be doable by mouse alone ... It used to be in RB 5.5 and before


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.


That can be solved with a little simple math in the mousedown event. The real issue in using a canvas is loss of WYSWIG layout.



Jim Payne (also PHD)

- Karen (only a MS ;) )



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