SiteKiosk Documentation
One Step Back

BrowseForFolder Method




The BrowseForFolder method displays a 'browse for folder' dialog.


Syntax

    [filename=] SiteKiosk.SiteKioskUI.CommonDialogs.
                BrowseForFolder(parentwin, rfolder, title, flags)
Parameters
    parentwinHandle to the parent window.
    rfolderString that specifies the root folder.
    titleString that specifies the title.
    flagsLong value that specifies the flags (BROWSEINFO ulFlags).
Return Value
    Returns a String that contains the absolute path of the saved file.
Remarks
    The default flags (if flags is null) are:

    BIF_EDITBOX, BIF_NEWDIALOGSTYLE, BIF_RETURNFSANCESTORS, BIF_RETURNONLYFSDIRS, BIF_USENEWUI
Examples
    The following example displays a 'browse for folder' dialog and shows the selected filename in an alert window.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    dialogObj = SiteKiosk.SiteKioskUI.CommonDialogs;
    alert(dialogObj.BrowseForFolder(0, "c:/", "title", 0));
    </SCRIPT>
    

Applies to
    SiteKiosk v6.0 (and later versions).

Back to topVolver arriba

© 1997-2011 PROVISIO - Aventura, EEUU - Muenster, Alemania
Sitekiosk.es - Grupo24®, Madrid, España -