realbasic-nug
[Top] [All Lists]

Folderitem.Count returns incorrect value

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Folderitem.Count returns incorrect value
From: Erne <erne at apimac dot com>
Date: Thu, 30 Aug 2007 00:12:55 +0200
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Hello list,

I can't get correct Folderitem.Count after I move a file into a  
folder like this:

dim x as integer

x = Folder.Count  //  this is 1
file.MoveFile to Folder
x = Folder.Count  //  this is still 1 but should be 2
x = Folder.CountMBS  //  this is still 2 as it should be

it also gets its correct value if I break into the debugger and  
inspect the Folder there


I'll bug it if nobody has done it yet


Cool Runnings,
Erne.

/ |\ |\  | /
– |/ | \ | –
\ |\ |  \| \

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

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


From  Thu 30 Aug 2007 00:13:30 +0200
Return-Path: <realbasic-nug-bounces at lists dot realsoftware dot com>
X-Original-To: listarchive at realsoftware dot com
Delivered-To: listarchive at realsoftware dot com
Received: by xmail.realsoftware.com (Postfix, from userid 1037)
        id EF7C43F64F21; Wed, 29 Aug 2007 15:14:36 -0700 (PDT)
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on
        www.realsoftware.com
X-Spam-Level:
X-Spam-Status: No, score=-2.5 required=4.5 tests=AWL,BAYES_00 autolearn=ham
        version=3.1.1
Received: from lists.realsoftware.com (m.realsoftware.com [66.116.103.65])
        by xmail.realsoftware.com (Postfix) with ESMTP id A719F3F64F16;
        Wed, 29 Aug 2007 15:14:32 -0700 (PDT)
Received: from real-software-mini.local (localhost [127.0.0.1])
        by lists.realsoftware.com (Postfix) with ESMTP id C1C1A5E0997;
        Wed, 29 Aug 2007 17:14:17 -0500 (CDT)
X-Original-To: realbasic-nug at lists dot realsoftware dot com
Delivered-To: realbasic-nug at lists dot realsoftware dot com
Received: from smtprelay05.ispgateway.de (smtprelay05.ispgateway.de
        [80.67.18.43])
        by lists.realsoftware.com (Postfix) with ESMTP id CF9EF5E098C
        for <realbasic-nug at lists dot realsoftware dot com>;
        Wed, 29 Aug 2007 17:14:12 -0500 (CDT)
Received: (qmail 31499 invoked from network); 29 Aug 2007 22:14:22 -0000
Received: from unknown (HELO [192.168.1.80]) (363246 at [84 dot 175 dot 91 dot 
102])
        (envelope-sender <support at monkeybreadsoftware dot de>)
        by smtprelay05.ispgateway.de (qmail-ldap-1.03) with SMTP
        for <realbasic-nug at lists dot realsoftware dot com>; 29 Aug 2007 
22:14:22 -0000
To: realbasic-nug at lists dot realsoftware dot com (REALbasic NUG)
In-Reply-To: <85A7CEA3-FB97-48FE-84C3-EC2CEE164071 at apimac dot com>
Subject: Re: Folderitem.Count returns incorrect value
From: support at monkeybreadsoftware dot de (Christian Schmitz)
Date: Thu, 30 Aug 2007 00:13:30 +0200
Message-ID: <1i3mtxp dot h9d3u697hij0M%support at monkeybreadsoftware dot de>
MIME-Version: 1.0
Organization: Monkeybread Software Germany
X-Face: nrf3>{WQ6c&r+7 at e)"]0G60`-6ND^)I2mI%>)QGYa=9"=7jhd-g2|b3!>Al0+
        Ccb%xGQshhi|g at QU2$
User-Agent: MacSOUP/D-2.8 (Mac OS X version 10.4.9 (PPC))
X-BeenThere: realbasic-nug at lists dot realsoftware dot com
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Sender: realbasic-nug-bounces at lists dot realsoftware dot com
Errors-To: realbasic-nug-bounces at lists dot realsoftware dot com

Erne <erne at apimac dot com> wrote:

> Hello list,
> x = Folder.Count  //  this is still 1 but should be 2
> x = Folder.CountMBS  //  this is still 2 as it should be

That is the reason I wrote CountMBS long ago.

Gruß
Christian

-- 
Over 800 classes with 15000 functions in one REALbasic plug-in. 
The Monkeybread Software Realbasic Plugin v7.4. 

<http://www.monkeybreadsoftware.de/realbasic/plugins.shtml>
_______________________________________________
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>