| To: | REALbasic NUG <realbasic-nug at lists dot realsoftware dot com> |
|---|---|
| Subject: | Re: folderitem.Count returns incorrect value |
| From: | Arnaud Nicolet <arnaud at tribu dot ch> |
| Date: | Thu, 30 Aug 2007 02:23:14 +0200 |
| Delivered-to: | listarchive at realsoftware dot com |
| Delivered-to: | realbasic-nug at lists dot realsoftware dot com |
| References: | <mailman dot 52521 dot 1188427733 dot 256 dot realbasic-nug at lists dot realsoftware dot com> <348F8587-A2B2-430C-83DC-C8AF59B592A2 at chartermi dot net> |
Le 30 août 07 à 01:35 Matin, jim_meyer a écrit: > I have also run into this...... an ugly workaround is to "reset" the > folderitem..... > > ..... so something like" > > x = Folder.Count // this is > file.MoveFile to Folder > folder = getfolderitem(folder.absolutepath) // reset hack > x = Folder.Count // this should now be correct Except that you have to avoid using absolutepaths. _______________________________________________ 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> |
|---|---|---|
| ||
| Previous by Date: | Re: Anyone ever wish they could make certain class methods non-virtual ?, Daniel Stenning |
|---|---|
| Next by Date: | Re: Syntax change in r3?, Dr Gerard Hammond |
| Previous by Thread: | Re: folderitem.Count returns incorrect value, jim_meyer |
| Next by Thread: | Re: Folderitem.Count returns incorrect value, Terry Ford |
| Indexes: | [Date] [Thread] [Top] [All Lists] |