realbasic-nug
[Top] [All Lists]

Re: Window.Left and WIndow.Top incorrect

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: Window.Left and WIndow.Top incorrect
From: Michael Diehr <md03@xochi.com>
Date: Wed, 29 Jul 2009 09:30:30 -0700
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: <CF7C7E87-5990-4C26-B5E9-4BD6DAC61D8A@stretchedout.com>
References: <048D0EFB-D608-4802-99E5-46187B30F447@stretchedout.com> <3A1798A9-5105-450C-A220-10F5D8E82C52@xochi.com> <CF7C7E87-5990-4C26-B5E9-4BD6DAC61D8A@stretchedout.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
On Jul 29, 2009, at 6:19 AM, Greg O'Lone wrote:
triggerAutoComplete
dim x,y as integer
x = me.left
y = me.top
// figure out global coordinates
x = x + self.left
y = y + self.top

Problem is that because this is a subclass of an editfield self.left and self.top are returning the top/left corner of the control... not the window.

I thought "self" was always the owner window (which may be a ContainerControl). What you are describing sounds like "Super.left"...odd.

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

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


From  Wed 29 Jul 2009 09:48:23 -0700 (PDT)
Delivered-To: listarchive@realsoftware.com
Received: by 10.220.95.147 with SMTP id d19cs114725vcn;
       Wed, 29 Jul 2009 09:49:34 -0700 (PDT)
Received: by 10.140.166.4 with SMTP id o4mr16817rve.74.1248886173230;
       Wed, 29 Jul 2009 09:49:33 -0700 (PDT)
Return-Path: <realbasic-nug-bounces@lists.realsoftware.com>
Received: from advanced107.inmotionhosting.com (advanced107.inmotionhosting.com 
[74.124.194.228])
       by mx.google.com with ESMTP id 42si2318522pzk.156.2009.07.29.09.49.32;
       Wed, 29 Jul 2009 09:49:33 -0700 (PDT)
Received-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) client-ip=74.124.194.228;
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
Received: from localhost ([127.0.0.1] helo=advanced107.inmotionhosting.com)
        by advanced107.inmotionhosting.com with esmtp (Exim 4.69)
        (envelope-from <realbasic-nug-bounces@lists.realsoftware.com>)
        id 1MWCKJ-0006B6-1c; Wed, 29 Jul 2009 09:48:27 -0700
Received: from aubrey.canvasdreams.com ([12.180.59.151])
        by advanced107.inmotionhosting.com with esmtps (TLSv1:AES256-SHA:256)
        (Exim 4.69) (envelope-from <fargo@rpgportland.com>)
        id 1MWCKH-0006Ar-QD for realbasic-nug@lists.realsoftware.com;
        Wed, 29 Jul 2009 09:48:25 -0700
Received: from localhost ([127.0.0.1] helo=rpgportland.com)
        by aubrey.canvasdreams.com with esmtpa (Exim 4.69)
        (envelope-from <fargo@rpgportland.com>) id 1MWCKF-0001bv-78
        for realbasic-nug@lists.realsoftware.com;
        Wed, 29 Jul 2009 09:48:23 -0700
Received: from 96.225.224.254 ([96.225.224.254])
        (SquirrelMail authenticated user fargo@rpgportland.com)
        by rpgportland.com with HTTP; Wed, 29 Jul 2009 09:48:23 -0700 (PDT)
Message-ID: <49489.96.225.224.254.1248886103.squirrel@rpgportland.com>
In-Reply-To: <c867e59d0907290035l6ac141e9qf125d1e6b74b00e6@mail.gmail.com>
References: <E4A0A287-2475-4522-9C98-5419A0ABC27A@mac.com>
        <CDE5C009-3A0B-42C9-8973-75F54179C691@mac.com>
        <F7B658F3-5170-4C36-8B5E-06F05C7085B4@mac.com>
        <D897084A-D95C-4E8E-8BDA-000851966004@tolisgroup.com>
        <7A66AAF0-48E3-4DE4-96CB-B630418988BA@mac.com>
        <E2195A96-0B19-48FF-8AC6-FEEAD00086BF@declareSub.com>
        <02CA662E-C813-4068-8819-F429BBB0DCF1@mac.com>
        <8A4C52E1-3CCC-4D32-8486-7B018BEED5CB@macdougall.biz>
        <F553A5F7-7DE8-4FF6-8FF5-27C50C6A0D18@gmail.com>
        <c867e59d0907290035l6ac141e9qf125d1e6b74b00e6@mail.gmail.com>
Date: Wed, 29 Jul 2009 09:48:23 -0700 (PDT)
Subject: Re: WYSIWYG editor plug-in.
From: fargo@rpgportland.com
To: "REALbasic NUG" <realbasic-nug@lists.realsoftware.com>
User-Agent: SquirrelMail/1.4.13
MIME-Version: 1.0
X-Priority: 3 (Normal)
Importance: Normal
X-AntiAbuse: This header was added to track abuse,
        please include it with any abuse report
X-AntiAbuse: Primary Hostname - aubrey.canvasdreams.com
X-AntiAbuse: Original Domain - lists.realsoftware.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - rpgportland.com
X-BeenThere: realbasic-nug@lists.realsoftware.com
X-Mailman-Version: 2.1.10
Precedence: list
Reply-To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: realbasic-nug-bounces@lists.realsoftware.com
Errors-To: realbasic-nug-bounces@lists.realsoftware.com
X-AntiAbuse: This header was added to track abuse, please include it with any 
abuse report
X-AntiAbuse: Primary Hostname - advanced107.inmotionhosting.com
X-AntiAbuse: Original Domain - realsoftware.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - lists.realsoftware.com

I definitely agree that htmlviewer needs to be standardized in some
fashion, but I wanted to mention that there is no specific relation, per
se, between htmlviewer and a wysiwyg editor. Certainly there _could_ be
one, but really it just boils down to an interface that can take input
that is then processed into proper (x)html/css.

While certainly not the most difficult task in the world, I think it'd be
a rather extensive project to even half-ass such a thing.

Best,
Fargo

When I bought RB 2005, it was because of HTML viewer, 4 years later it
still
does not work.  You are right, they should just make their own, and use
webkit or have Opera or firefox make a plugin.  Just something that works.

Trausti

On Tue, Jul 28, 2009 at 11:27 PM, Jann Gobble <janngobble@gmail.com>
wrote:

Nothing should "start" with the windows side.  :)

Just kidding.  That I know of, no such bird exists....what with the
HTMLViewer in RB being 3 different engines across 3 platforms.

Maybe RB should just standardize on WebKit and be done with it!

Jann



On Jul 28, 2009, at 2:11 PM, Gary MacDougall wrote:

 Is there a plug-in that allows for HTML editing, preferably a cross
platform plug-in?  But starting with the Windows side?

Thanks,
Gary




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