WebViewFolderContents.FocusedItem property
Gets a FolderItem object that represents the item that has the input focus.
This property is read-only.
Syntax
objFocusedItem = WebViewFolderContents.FocusedItem
Property value
A variable of type IDispatch that receives the focused item object.
Examples
The following example shows the proper usage of this property in JScript embedded in HTML.
<html>
<head>
...
<script language="JavaScript">
function fnWebViewFolderContentsFocusedItemJ()
{
var objFolderItem;
objFolderItem = FileList.FocusedItem;
if (objFolderItem != null)
{
alert(objFolderItem.Name);
}
}
</script>
</head>
<body>
...
<object id=FileList classid="clsid:aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb" tabIndex=1>
</body>
</html>
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional, Windows XP [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|
IDL |
|
DLL |
|