realbasic-nug
[Top] [All Lists]

Re: WYSIWYG editor plug-in.

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: WYSIWYG editor plug-in.
From: Norman Palardy <npalardy@great-white-software.com>
Date: Wed, 29 Jul 2009 20:01:43 -0600
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: <AF30E0FB-D128-4455-AD61-5604E1F0ECBC@verizon.net>
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> <49489.96.225.224.254.1248886103.squirrel@rpgportland.com> <B4B8AB76-7A44-499C-8975-54D223041836@macdougall.biz> <60027.96.225.224.254.1248903894.squirrel@rpgportland.com> <74A31938-85C3-400C-A411-1129D406A641@macdougall.biz> <23F0D1A0-B5AE-4EF6-82EB-DEA5D6502DF1@great-white-software.com> <AF30E0FB-D128-4455-AD61-5604E1F0ECBC@verizon.net>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com

On 29-Jul-09, at 7:29 PM, Karen wrote:


On Jul 29, 2009, at 8:23 PM, Norman Palardy wrote:

On 29-Jul-09, at 4:06 PM, Gary MacDougall wrote:

What's the possibility of WebKit being integrated into RB in in the near future?

Same as any other .. submit a feature request and see what happens

Well I think it might be a bit higher probability than the ESP module. ;)

You must already have the ESP module installed to know that ... hmmmmmmmmm :)


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

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


From  Thu 30 Jul 2009 02:03:22 +0000 (UTC)
Delivered-To: listarchive@realsoftware.com
Received: by 10.220.95.147 with SMTP id d19cs143873vcn;
       Wed, 29 Jul 2009 19:03:55 -0700 (PDT)
Received: by 10.114.132.4 with SMTP id f4mr773713wad.75.1248919434717;
       Wed, 29 Jul 2009 19:03:54 -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 7si3588966pzk.2.2009.07.29.19.03.53;
       Wed, 29 Jul 2009 19:03:54 -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 1MWKzL-0007U2-Bv; Wed, 29 Jul 2009 19:03:23 -0700
Received: from qmta08.emeryville.ca.mail.comcast.net ([76.96.30.80])
        by advanced107.inmotionhosting.com with esmtp (Exim 4.69)
        (envelope-from <ormyrr@comcast.net>) id 1MWKzK-0007Tr-Bv
        for realbasic-nug@lists.realsoftware.com;
        Wed, 29 Jul 2009 19:03:22 -0700
Received: from OMTA10.emeryville.ca.mail.comcast.net ([76.96.30.28])
        by QMTA08.emeryville.ca.mail.comcast.net with comcast
        id N1qG1c0010cQ2SLA823PR4; Thu, 30 Jul 2009 02:03:23 +0000
Received: from sz0114.ev.mail.comcast.net ([76.96.26.176])
        by OMTA10.emeryville.ca.mail.comcast.net with comcast
        id N23N1c00T3nyKck8W23NLL; Thu, 30 Jul 2009 02:03:23 +0000
Date: Thu, 30 Jul 2009 02:03:22 +0000 (UTC)
From: ormyrr@comcast.net
To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Message-ID: 
<1293440054.4006841248919402969.JavaMail.root@sz0114a.emeryville.ca.mail.comcast.net>
In-Reply-To: <E98A8196-448A-4BCB-A001-D3FB1149709C@verizon.net>
Subject: Re: Should I be able to do this?
MIME-Version: 1.0
X-Originating-IP: [76.96.26.176]
X-Mailer: Zimbra 5.0.16_GA_2927.RHEL5_64 (zclient/5.0.16_GA_2927.RHEL5_64)
X-Content-Filtered-By: Mailman/MimeDel 2.1.10
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 think the syntax error is that you cannot have anything between the Select 
Case line and the first Case statement (not even comments). You'll have to move 
your #if statements lower (or put a dummy Case statement before them).


----- Original Message -----

From: Karen To: REALbasic NUG
Sent: Thu, 30 Jul 2009 01:21:45 +0000 (UTC)

Subject: Should I be able to do this?



I thought the #if ... #EndIf block makes things that are not true in
that block invisible to the complier.



If that is true one would expect to be able to use them anywhere ... But apparently that not true. The following code gives me an illegal
syntax error:





    Select Case RectCtrl

    #if RBVersion <= 2009.3

     Case IsA EditField

       CheckedFont = EditField(RectCtrl).TextFont

    #endif



    #if RBVersion >= 2009.3

     Case isA TextField

       CheckedFont = TextField(RectCtrl).TextFont

     Case isA TextArea

      CheckedFont = TextArea(RectCtrl).TextFont

    #endif



    Case IsA StaticText

      CheckedFont = StaticText(RectCtrl).TextFont

    Case IsA Listbox

      CheckedFont = Listbox(RectCtrl).TextFont

   End Select



Is this this a bug, a design flaw, or am I crazy to even think doing
this should work?



I know the work around in this case is obvious (but a pain IMO) ... I am not asking for that, just about ideally how #if ... #endif should
work



- Karen



_______________________________________________

Unsubscribe or switch delivery mode:





Search the archives:




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