AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkDirectory.GetFirstFolder Method

Returns the name of the first folder found in the current directory, which is set using CurrentFolder.

Syntax
Pascal
class function GetFirstFolder: String; static;

You can call GetNextFolder to continue down the list of folders in the current directory. Returns an empty string if there are no folders in the current directory. Does not include . or ..

Copyright (c) 2012. All rights reserved.