Skip to main content

GetBrowserLine

GetBrowserLine (fullPathStr [, mode])

The GetBrowserLine function returns the zero-based line number of the data folder referenced by fullPathStr .

If fullPathStr does not point to a data folder or points to a data folder that in a collapsed data folder in the Data Browser, GetBrowserLine returns -1.

Parameters

fullPathStr is a string containing a full path to a data folder. It may be quoted or unquoted.

mode is an optional parameter that specifies which data browser the function applies to.

mode =0:Targets the modal data browser if it is visible, otherwise the regular data browser. This is the default value.
mode =1:Targets the regular data browser.
mode =2:Targets the modal data browser.

See CreateBrowser for a discussion of the regular versus the modal data browser.

See Also

The Data Browser, CreateBrowser, ModifyBrowser, GetBrowserSelection