New topic: Help with SelectFolder
<http://forums.realsoftware.com/viewtopic.php?t=47162> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message HMARROQUINC Post subject: Help with SelectFolderPosted: Tue Mar 05, 2013 1:34 pm Joined: Sun Jan 25, 2009 5:11 pm Posts: 499 Location: Guatemala, Central America I'm attempting to pass a folderitem to a function that will try to read each file's length within that folder, hopefully I will manage to read files contained in subfolders also. Being lazy I'm using a function that charonn0 posted to the forum back in 2011: http://forums.realsoftware.com/viewtopic.php?f=1&t=37197&hilit=how+to+list+every+file+under+a+directory I will modify the code so that it will list the files in a listbox, but in the meantime I can't get it working because when I pass a folder item like this: dim f as FolderItem dim fr as FolderItem f = SelectFolder fr = self.getChildren(f) I get a compiler error saying that the function expects folderitem but it's getting a folderitem() It's probably something obvious but I'm not able to pinpoint it. Thanks in advance! _________________ Future RS guru. Ride the world! Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
