125
Explorer control (browse for the folder being double-clicked)

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AcceptFolders = 2
		.Mode = 32768
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

124
Can I display the size of the files, using 1 decimal, such as 10.2 KB instead of 10 KB

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.Caption = "ffolder ? ( fname + ( len( 22:=(int(0:=(1:=fsize)/1024/1024/1024) ? round(=:0*10)/10 + ` GB` : (int(0:==:1/1024/1024) ? round(=" & _
	":0*10)/10 + ` MB` : (int(0:==:1/1024) ? round(=:0*10)/10 + ` KB` : =:1 + ` B`))) ) ? `, ` + =:22 : `` ) ) : ffile"
		.ToolTipText = "ffolder ? ( `Name: <b>` + fname + `</b>` + `<br>` + ( len( 0:= ftype ) ? `Type: <b>` + =:0 + `</b>` + `<br>` : `` ) + ( ffolder" & _
	" = 1 ? `Size: <b>` + (int(0:=(1:=fsize)/1024/1024/1024) ? round(=:0*10)/10 + ` GB` : (int(0:==:1/1024/1024) ? round(=:0*10)/10 +" & _
	" ` MB` : (int(0:==:1/1024) ? round(=:0*10)/10 + ` KB` : =:1 + ` B`))) + `</b>` + `<br>` : `` ) + `Created: <b>` + fcreated_local" & _
	" + `</b>` + `<br>` + `Modified: <b>` + fmodified_local + `</b>`+ `<br>` + `Last Opened: <b>` + fopened_local + `</b>`+ (fpicture" & _
	" ? (`<br>Dimensions: <b>` + fwidth + ` x ` + fheight + `</b>` ) : ``) ) : ffile"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

123
It appears that Created, Modified and Last Opened values are not correct (local)
<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.Padding = ""
		.Alignment = 33
		.InputFiles = "C:\Program Files\Exontrol\ExThumbnail\Sample\elogo.jpg"
		.Caption = "`Created: <b><r>` + fcreated_local + `</b>` + `<br>` + `Modified: <b><r>` + fmodified_local + `</b>`+ `<br>` + `Last Opened: <r" & _
	"><b>` + fopened_local + `</b>`"
		.SingleCaption = .Caption
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

122
It appears that Created, Modified and Last Opened values are not correct (bias)
<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.Padding = ""
		.Alignment = 33
		.InputFiles = "C:\Program Files\Exontrol\ExThumbnail\Sample\elogo.jpg"
		.Caption = "`Created: <b><r>` + date(fcreated - bias/24/60) + `</b>` + `<br>` + `Modified: <b><r>` + date(fmodified - bias/24/60) + `</b>`+" & _
	" `<br>` + `Last Opened: <r><b>` + date(fopened - bias/24/60) + `</b>`"
		.SingleCaption = .Caption
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

121
How can I sort the thumbnails, case insensitive

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.Sort = 514 ' ThumbnailSortEnum.exThumbailSortInsensitive Or ThumbnailSortEnum.exThumbailSortByName
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

120
How can I select programatically multiple files
<BODY onload="Init()">
<SCRIPT LANGUAGE="VBScript">
Function Thumbnail1_StateChange(State)
	With Thumbnail1
		alert( State )
		alert( .Select )
	End With
End Function
</SCRIPT>

<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AutoUpdate = True
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.SingleSel = False
		.Select = "Brazil.png\r\ncordova.png"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

119
Does your control support multiple-selection

<BODY onload="Init()">
<SCRIPT LANGUAGE="VBScript">
Function Thumbnail1_StateChange(State)
	With Thumbnail1
		alert( State )
		alert( .Select )
	End With
End Function
</SCRIPT>

<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AutoUpdate = True
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.SingleSel = False
		.Select = "Brazil.png\r\ncordova.png"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

118
Is it possible to show the selection with a different color, when the control loses the focus

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AcceptFolders = 2
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.Background(179) = RGB(0,0,1)
		.Select = "Access2007"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

117
Predefined Keywords of ShowContextMenu property

<BODY onload="Init()">
<SCRIPT LANGUAGE="VBScript">
Function Thumbnail1_StateChange(State)
	With Thumbnail1
		.ExecuteContextMenu = 0
	End With
End Function
</SCRIPT>

<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AutoUpdate = True
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.ShowContextMenu = "`menu(` + menu + `)` + `,filecount=` + filecount + `,fileattr=` + hex(fileattr) + `,filename=` + filename + `,fileparsename=` +" & _
	" fileparsename + `,filefullname=` + filefullname"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

116
How can I display the identifiers of the control's context menu (debug)

<BODY onload="Init()">
<SCRIPT LANGUAGE="VBScript">
Function Thumbnail1_StateChange(State)
	With Thumbnail1
		alert( "State" )
		alert( State )
		alert( "ExecuteContextMenu" )
		alert( .ExecuteContextMenu )
	End With
End Function
</SCRIPT>

<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AutoUpdate = True
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.ShowContextMenu = "`[debug]` + menu"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

115
How can I copy/execute command a file/folder as path (selection)

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AutoUpdate = True
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.Select = "Brazil.png"
		.ExecuteContextCommand "<selection>",True,"Copy As Path"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

114
Is it possible to display the item's identifiers in the file's context menu

<BODY onload="Init()">
<SCRIPT LANGUAGE="VBScript">
Function Thumbnail1_StateChange(State)
	With Thumbnail1
		alert( "State " )
		alert( State )
		alert( "ContextMenu" )
		alert( .ShowContextMenu )
		.ShowContextMenu = .FormatABC("B = 20 ? (`[debug]`+ value) : value ",.ShowContextMenu,State)
	End With
End Function
</SCRIPT>

<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AutoUpdate = True
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

113
How can I copy/execute command a file/folder (selection)
<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AutoUpdate = True
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.Select = "Brazil.png"
		.ExecuteContextCommand "<selection>",True,"Copy"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

112
How can I copy a file/folder (absolute name)
<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AutoUpdate = True
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.ExecuteContextCommand "c:\Temp",True,"Copy"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

111
How can I copy a file/folder (relative name)
<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AutoUpdate = True
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.ExecuteContextCommand "Belgium.png",True,"Copy"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

110
ShowContextMenu usage

<BODY onload="Init()">
<SCRIPT LANGUAGE="VBScript">
Function Thumbnail1_StateChange(State)
	With Thumbnail1
		alert( "State" )
		alert( State )
		alert( "ExecuteContextMenu" )
		alert( .ExecuteContextMenu )
	End With
End Function
</SCRIPT>

<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AutoUpdate = True
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.ShowContextMenu = "filecount = 0 ? `Exit[id=1000]` : ( ( ( filecount = 1 ) ? filename : `multiple selection` ) + `[dis],[sep],` + menu)"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

109
ShowContextMenu usage
<BODY onload="Init()">
<SCRIPT LANGUAGE="VBScript">
Function Thumbnail1_StateChange(State)
	With Thumbnail1
		alert( "State" )
		alert( State )
		alert( "ExecuteContextMenu" )
		alert( .ExecuteContextMenu )
	End With
End Function
</SCRIPT>

<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AutoUpdate = True
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.ShowContextMenu = "filecount > 1 ? `multiple selection[dis]` : menu"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

108
ShowContextMenu usage
<BODY onload="Init()">
<SCRIPT LANGUAGE="VBScript">
Function Thumbnail1_StateChange(State)
	With Thumbnail1
		alert( "State" )
		alert( State )
		alert( "ExecuteContextMenu" )
		alert( .ExecuteContextMenu )
	End With
End Function
</SCRIPT>

<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AutoUpdate = True
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.ShowContextMenu = "filecount > 1 ? `multiple selection[dis]` : menu"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

107
ShowContextMenu usage

<BODY onload="Init()">
<SCRIPT LANGUAGE="VBScript">
Function Thumbnail1_StateChange(State)
	With Thumbnail1
		alert( "State" )
		alert( State )
		alert( "ExecuteContextMenu" )
		alert( .ExecuteContextMenu )
	End With
End Function
</SCRIPT>

<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AutoUpdate = True
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.ShowContextMenu = "menu replace `&Delete` with ``"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

106
ShowContextMenu usage

<BODY onload="Init()">
<SCRIPT LANGUAGE="VBScript">
Function Thumbnail1_StateChange(State)
	With Thumbnail1
		alert( "State" )
		alert( State )
		alert( "ExecuteContextMenu" )
		alert( .ExecuteContextMenu )
	End With
End Function
</SCRIPT>

<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AutoUpdate = True
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.ShowContextMenu = "`Popup(Item 1[id=1001],Item 2[id=1002],Item 3[id=1003]),` + menu + `,Exit[id=1000]`"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

105
ShowContextMenu usage

<BODY onload="Init()">
<SCRIPT LANGUAGE="VBScript">
Function Thumbnail1_StateChange(State)
	With Thumbnail1
		alert( "State" )
		alert( State )
		alert( "ExecuteContextMenu" )
		alert( .ExecuteContextMenu )
	End With
End Function
</SCRIPT>

<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AutoUpdate = True
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.ShowContextMenu = "filecount = 0 ? `Popup(Item 1[id=1001],Item 2[id=1002],Item 3[id=1003]),[sep],Exit[def][id=1000]` : menu"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

104
ShowContextMenu usage

<BODY onload="Init()">
<SCRIPT LANGUAGE="VBScript">
Function Thumbnail1_StateChange(State)
	With Thumbnail1
		alert( "State" )
		alert( State )
		alert( "ExecuteContextMenu" )
		alert( .ExecuteContextMenu )
	End With
End Function
</SCRIPT>

<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AutoUpdate = True
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.ShowContextMenu = "Popup(Item 1[id=1001],Item 2[id=1002],Item 3[id=1003]),[sep],Exit[def][id=1000]"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

103
ShowContextMenu usage
<BODY onload="Init()">
<SCRIPT LANGUAGE="VBScript">
Function Thumbnail1_StateChange(State)
	With Thumbnail1
		alert( "State" )
		alert( State )
		alert( "ExecuteContextMenu" )
		alert( .ExecuteContextMenu )
		alert( "no context menu is generated, so nothing is displayed" )
	End With
End Function
</SCRIPT>

<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AutoUpdate = True
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.ShowContextMenu = "``"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

102
How can I add new items to the default file's context menu

<BODY onload="Init()">
<SCRIPT LANGUAGE="VBScript">
Function Thumbnail1_StateChange(State)
	With Thumbnail1
		alert( "State " )
		alert( State )
		alert( "ContextMenu" )
		alert( .ShowContextMenu )
		.ShowContextMenu = .FormatABC("B = 20 ? ( `My First Popup[def](A,B,C),[sep],`+ value + `,[sep],My Last Popup[def](A,B,C)` ) : value",.ShowContextMenu,State)
		alert( "Execute" )
		alert( .ExecuteContextMenu )
	End With
End Function
</SCRIPT>

<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AutoUpdate = True
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

101
How can I disable the Delete command from the file's context menu

<BODY onload="Init()">
<SCRIPT LANGUAGE="VBScript">
Function Thumbnail1_StateChange(State)
	With Thumbnail1
		alert( "State " )
		alert( State )
		alert( "ContextMenu" )
		alert( .ShowContextMenu )
	End With
End Function
</SCRIPT>

<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AutoUpdate = True
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.ShowContextMenu = "menu replace `Delete` with `Delete[dis]`"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

100
How can I remove the Delete command from the file's context menu

<BODY onload="Init()">
<SCRIPT LANGUAGE="VBScript">
Function Thumbnail1_StateChange(State)
	With Thumbnail1
		alert( "State " )
		alert( State )
		alert( "ContextMenu" )
		alert( .ShowContextMenu )
	End With
End Function
</SCRIPT>

<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AutoUpdate = True
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.ShowContextMenu = "menu replace `&Delete` with ``"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

99
How can I provide my own context menu

<BODY onload="Init()">
<SCRIPT LANGUAGE="VBScript">
Function Thumbnail1_StateChange(State)
	With Thumbnail1
		alert( "State " )
		alert( State )
		alert( "ContextMenu" )
		alert( .ShowContextMenu )
		.ShowContextMenu = "Item 1[id=1][def],Item 2[id=2],[sep][id=3],Popup[id=4](Item 3[id=5],Item 4[id=6])"
		alert( "ExecuteContextMenu" )
		alert( .ExecuteContextMenu )
	End With
End Function
</SCRIPT>

<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AutoUpdate = True
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

98
Is it possible to prevent executing a specific command from the object's context menu
<BODY onload="Init()">
<SCRIPT LANGUAGE="VBScript">
Function Thumbnail1_StateChange(State)
	With Thumbnail1
		alert( "State " )
		alert( State )
		alert( "ContextMenu" )
		alert( .ShowContextMenu )
		alert( "ExecuteContextMenu" )
		alert( .ExecuteContextMenu )
		.ExecuteContextMenu = 0
	End With
End Function
</SCRIPT>

<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AutoUpdate = True
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

97
How can I disable the Delete command from the object's context menu

<BODY onload="Init()">
<SCRIPT LANGUAGE="VBScript">
Function Thumbnail1_StateChange(State)
	With Thumbnail1
		alert( "State " )
		alert( State )
		alert( "ContextMenu" )
		alert( .ShowContextMenu )
		.ShowContextMenu = .FormatABC("value replace `&Delete` with `&Delete[dis]`",.ShowContextMenu)
	End With
End Function
</SCRIPT>

<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AutoUpdate = True
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

96
How can I programmatically selects a file

<BODY onload="Init()">
<SCRIPT LANGUAGE="VBScript">
Function Thumbnail1_StateChange(State)
	With Thumbnail1
		alert( State )
	End With
End Function
</SCRIPT>

<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AcceptFolders = 2
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.Background(178) = RGB(255,0,0)
		.Background(179) = .Background(178)
		.Select = "Access2007"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

95
How can I programmatically unselect the file
<BODY onload="Init()">
<SCRIPT LANGUAGE="VBScript">
Function Thumbnail1_StateChange(State)
	With Thumbnail1
		alert( State )
	End With
End Function
</SCRIPT>

<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AcceptFolders = 2
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.Background(178) = RGB(255,0,0)
		.Background(179) = .Background(178)
		.Select = ""
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

94
How can I change the color to show the selected frame

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AcceptFolders = 2
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.Background(178) = RGB(255,0,0)
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

93
How can I remove the frame being selected when the control loses the focus (hidesel)
<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AcceptFolders = 2
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.Background(179) = -1
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

92
When I drop a folder, can I include all its content, files and sub-folders

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AcceptFolders = 2
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

91
When I drop a folder, can I include sub-folders only

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AcceptFolders = 1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

90
I've noticed that if I drop a single file I get a different caption. How can I change that (sample 2)

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample\Brazil.png"
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample\Romania.png"
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample\USA.png"
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample\Venezuela.png"
		.Caption = "`<sha ;;0><fgcolor=808080>` + upper(fname replace `.` + fext with ``)"
		.SingleCaption = ""
		.FilterBarPromptPattern = "USA"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

89
I've noticed that if I drop a single file I get a different caption. How can I change that (sample 1)

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.InputFile = "C:\Program Files\Exontrol\ExThumbnail\Sample\elogo.jpg"
		.SingleCaption = .Caption
	End With
End Function
</SCRIPT>
</BODY>

88
Can I somehow show the close button of the control's filter bar to the right, only if required

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.FilterBarVisible = 1537 ' FilterBarVisibleEnum.exFilterBarShowCloseOnRight Or FilterBarVisibleEnum.exFilterBarShowCloseIfRequired Or FilterBarVisibleEnum.exFilterBarVisible
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.FilterBarBackColor = RGB(0,0,0)
		.FilterBarForeColor = RGB(255,255,255)
		.FilterBarPromptPattern = "elogo"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

87
I have a filter being applied, the question is how can I display the number/count of results (sample 3)

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.FilterBarPromptPattern = "el"
		.StatusCaption = "(len(ffilter) = 0) ? `` : ( `<fgcolor=808080>` + ( fvcount ? ( fvcount format `0` ) + ` result(s).` : `No results.` ) )"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

86
Just icons are shown when droping the file into the control. What can I check

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.ThumbnailType = 255
		.ExtractMethod = "ThumbnailCache,ThumbnailProvider,ExtractImage"
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

85
How can I turn on the auto-update, so the thumbnails updates automatically once the user changes the files
<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AutoUpdate = True
		.AllowContextMenu = True
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.StatusCaption = "<c><font ;10><sha ;;0>Open the Windows Explorer, and delete or edit any of these files."
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

84
I am using the control's default context menu to delete the file, and the file still shows in the control with no thumbnail. What can I do so it won't be shown
<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AutoUpdate = True
		.AllowContextMenu = True
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.StatusCaption = "<c><font ;10><sha ;;0>Open the Windows Explorer, and delete or edit any of these files."
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

83
Is it possible to displays the file's context menu

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AllowContextMenu = True
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

82
How can I programmatically get the number of results

<BODY onload="Init()">
<SCRIPT LANGUAGE="VBScript">
Function Thumbnail1_Click()
	With Thumbnail1
		alert( "Results:" )
		alert( .FormatABC("fvcount") )
		alert( "Total:" )
		alert( .FormatABC("fcount") )
	End With
End Function
</SCRIPT>

<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.FilterBarPromptPattern = "el"
		.StatusCaption = "(fvcount = fcount) ? `` : ( `<fgcolor=808080>` + ( fvcount ? ( fvcount format `0` ) + ` result(s).` : `No results.` ) )"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

81
I have a filter being applied, the question is how can I display the number/count of results (sample 2)

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.FilterBarPromptPattern = "el"
		.StatusCaption = "(fvcount = fcount) ? `` : ( `<fgcolor=808080>` + ( fvcount ? ( fvcount format `0` ) + ` result(s).` : `No results.` ) )"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

80
I have a filter being applied, the question is how can I display the number of results (sample 1)

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.FilterBarPromptPattern = "e"
		.StatusCaption = "not (fcount = fvcount ) ? (`<r><font ;6><fgcolor=808080><sha ;;0>Found: <b>` + (len(fvcount) ? fvcount format `0` : 0)) : ``"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

79
Is it possible to display the number of files that are currently in the list

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.StatusCaption = "`<r><font ;6><fgcolor=808080><sha ;;0>Count: <b>` + (len(fvcount) ? fvcount : 0)"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

78
How can I specify the number of files to be displayed

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.LimitInputFiles = 4
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

77
Is it possible to limit the number of files to be shown to one

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.LimitInputFiles = 1
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

76
I've seen that you can magnify the view once the user draggs the control while middle-mouse button is pressed. How can I disable that
<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.Mode = 26368 ' ThumbnailModeEnum.exThumbnailKeepAspectRatio Or ThumbnailModeEnum.exThumbnailAutoFitOnDblClk Or ThumbnailModeEnum.exThumbnailCenter Or ThumbnailModeEnum.exThumbnailStretch Or ThumbnailModeEnum.exThumbnailAutoFit
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

75
How can I display the name on a line, and the size on the other line

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AcceptFolders = -1
		.Padding = "0 0 0 36"
		.Margins = "4 0"
		.Sort = 4
		.WordWrap = True
		.Caption = "ffolder ? ( lower(fname) + ( len( 0:=fsizeF ) ? `<br><c>` + =:0 : `` ) ) : ffile"
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

74
Can I display the name of the thumbnails without the extension

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.Background(177) = RGB(1,0,0)
		.AcceptFolders = -1
		.WordWrap = False
		.Caption = "ffolder ? ( lower(fname replace `.` + fext with ``) + ( len( 0:=fsizeF ) ? `, ` + =:0 : `` ) ) : ffile"
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

73
I am trying to use the DblClick event, but the control switch the view to a different mode. Can I open the file, when user double clicks the control
<BODY onload="Init()">
<SCRIPT LANGUAGE="VBScript">
Function Thumbnail1_DblClick(Shift,X,Y)
	With Thumbnail1
		alert( .ThumbnailFromPoint(-1,-1) )
	End With
End Function
</SCRIPT>

<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.Mode = 22272 ' ThumbnailModeEnum.exThumbnailKeepAspectRatio Or ThumbnailModeEnum.exThumbnailAllowResize Or ThumbnailModeEnum.exThumbnailCenter Or ThumbnailModeEnum.exThumbnailStretch Or ThumbnailModeEnum.exThumbnailAutoFit
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

72
How can I hide/prevent showing the control's filter

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.FilterBarVisible = 0
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

71
The thumbnails get resized as soon as I change the filter. Can I make it fixed

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.ScrollPartVisible(0,65536) = True
		.ScrollPartVisible(1,65536) = True
		.ScrollPartVisible(2,65536) = True ' &H2
		.ScrollWidth = 4
		.Background(276) = RGB(240,240,240)
		.Background(260) = RGB(128,128,128)
		.ScrollHeight = 4
		.Background(404) = .Background(276)
		.Background(388) = .Background(260)
		.Background(511) = .Background(276)
		.Mode = 30208 ' ThumbnailModeEnum.exThumbnailKeepAspectRatio Or ThumbnailModeEnum.exThumbnailAutoFitOnDblClk Or ThumbnailModeEnum.exThumbnailAllowResize Or ThumbnailModeEnum.exThumbnailCenter Or ThumbnailModeEnum.exThumbnailStretch
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

70
Is it possible to display the names in lower-case, and with a different color the size

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.Caption = "lower(ffolder ? ( fname : ffile)) + ( len( 0:=fsizeF ) ? `, <fgcolor=A0A0A0>` + =:0 + `</fgcolor>` : `` )"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

69
Is it possible to display the names in upper-case

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.Caption = "upper(ffolder ? ( fname + ( len( 0:=fsizeF ) ? `, ` + =:0 : `` ) ) : ffile)"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

68
How can I programmatically apply a filter to the control

<BODY onload="Init()">
<SCRIPT LANGUAGE="VBScript">
Function Thumbnail1_Click()
	With Thumbnail1
		.FilterBarPromptPattern = "jpg"
	End With
End Function
</SCRIPT>

<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

67
How can I clear programmatically the control's filter

<BODY onload="Init()">
<SCRIPT LANGUAGE="VBScript">
Function Thumbnail1_Click()
	With Thumbnail1
		.FilterBarPromptPattern = ""
	End With
End Function
</SCRIPT>

<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.FilterBarPromptPattern = "jpg"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

66
Is the "Start Filter ..." customizable, so I can change to my language

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.FilterBarBackColor = RGB(0,0,0)
		.FilterBarForeColor = RGB(255,255,255)
		.FilterBarPrompt = "<i><b>Click here to start filter for...</b></i>"
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

65
How can I define what to filter for. For instance, just the name, extension. Is it possible

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.FilterBarFor = "fname"
		.FilterBarPromptPattern = "jpg"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

64
It is possible to turn-on case-sensitive for the control's filter

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.FilterBarPromptType = 257 ' FilterPromptEnum.exFilterPromptCaseSensitive Or FilterPromptEnum.exFilterPromptContainsAll
		.FilterBarPromptPattern = "el"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

63
Can I filter the thumbnails that starts with instead contains typed characters

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.FilterBarPromptType = 3
		.FilterBarPromptPattern = "el"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

62
Can I use wild characters in the filter

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.FilterBarPromptType = 16
		.FilterBarFor = "fname"
		.FilterBarPromptPattern = "*.jpg"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

61
I've noticed that If I type more words on filter bar all should be included, the question is can I display thumbnails that contains any of these words

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.FilterBarPromptType = 2
		.FilterBarPromptPattern = "elogo or something that you won't find"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

60
How can I change the filter's bar foreground/background color

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.FilterBarBackColor = RGB(0,0,0)
		.FilterBarForeColor = RGB(255,255,255)
		.FilterBarPrompt = "<i>Start Filter...</i>"
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

59
The question is can I somehow show the close button of the control's filter bar to the right

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.FilterBarVisible = 1025 ' FilterBarVisibleEnum.exFilterBarShowCloseOnRight Or FilterBarVisibleEnum.exFilterBarVisible
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

58
Is it possible to change the color to show the close button of the control's filter bar

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.Background(1) = RGB(0,255,0)
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

57
How can I prevent showing the close button, in the control's filter bar

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.Background(1) = -1
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

56
Is it possible to show the close button, only if there is a filter applied

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.FilterBarVisible = 513 ' FilterBarVisibleEnum.exFilterBarShowCloseIfRequired Or FilterBarVisibleEnum.exFilterBarVisible
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

55
How can I close/hide the filter once the user clicks the close button
<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.FilterBarVisible = 257 ' FilterBarVisibleEnum.exFilterBarToggle Or FilterBarVisibleEnum.exFilterBarVisible
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

54
How can I disable the control's filter bar

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.FilterBarVisible = 0
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

53
How can I enable the control's filter bar

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.FilterBarVisible = 1
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

52
How can I enable alternate background/foreground colors

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.Background(175) = RGB(240,240,240)
		.Background(176) = RGB(128,128,128)
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

51
How can I remove all margins, so I have a compact view

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.Margins = "0 0"
		.Padding = "0 0 0 0"
		.Borders = "0 0 0 0"
		.Background(177) = RGB(1,0,0)
		.Alignment = 33
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

50
The thumbnail's caption gets wrapped, the question is can I disable that

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.Margins = "16 16"
		.ThumbnailMinWidth = 32
		.ThumbnailMinHeight = 32
		.Mode = 30208 ' ThumbnailModeEnum.exThumbnailKeepAspectRatio Or ThumbnailModeEnum.exThumbnailAutoFitOnDblClk Or ThumbnailModeEnum.exThumbnailAllowResize Or ThumbnailModeEnum.exThumbnailCenter Or ThumbnailModeEnum.exThumbnailStretch
		.AcceptFolders = -1
		.WordWrap = False
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

49
How can I display the thumbnail's caption on the right rather than bottom

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.Margins = "0 16"
		.Padding = "0 0 16 0"
		.Borders = "16 16 16 16"
		.CaptionRotate = 17 ' HTMLRotateEnum.exHTMLMirror Or HTMLRotateEnum.exHTMLVertical
		.Background(177) = RGB(1,0,0)
		.AcceptFolders = -1
		.WordWrap = False
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

48
How can I display the thumbnail's caption on the left rather than bottom

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.Margins = "0 16"
		.Padding = "16 0 0 0"
		.Borders = "16 16 16 16"
		.CaptionRotate = 1
		.Background(177) = RGB(1,0,0)
		.AcceptFolders = -1
		.WordWrap = False
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

47
How can I display the thumbnail's caption on the top rather than bottom

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.Margins = "16 0"
		.Padding = "0 16 0 0"
		.Borders = "16 16 16 16"
		.Background(177) = RGB(1,0,0)
		.AcceptFolders = -1
		.WordWrap = False
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

46
How do I enable the scrollbar-extension, as thumb to be shown outside of the control's client area

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.ScrollPartVisible(0,65536) = True
		.ScrollPartVisible(1,65536) = True
		.ScrollPartVisible(2,65536) = True ' &H2
		.ScrollWidth = 4
		.Background(276) = RGB(240,240,240)
		.Background(260) = RGB(128,128,128)
		.ScrollHeight = 4
		.Background(404) = .Background(276)
		.Background(388) = .Background(260)
		.Background(511) = .Background(276)
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

45
How can I prevent showing the control's scroll bars
<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AutoDrag = 0
		.ScrollWidth = 0
		.ScrollHeight = 0
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

44
How can I modify the margins of the thumbnail

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.Margins = "16 0"
		.Padding = "0 16 0 0"
		.Borders = "16 16 16 16"
		.WordWrap = False
		.Background(177) = RGB(1,0,0)
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

43
The thumbnail view gets scrolled when user clicks it. Can I disable that
<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AutoDrag = 0
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

42
The thumbnail get maximized as soon as the user double clicks it. May I prevent that
<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.Mode = 22272 ' ThumbnailModeEnum.exThumbnailKeepAspectRatio Or ThumbnailModeEnum.exThumbnailAllowResize Or ThumbnailModeEnum.exThumbnailCenter Or ThumbnailModeEnum.exThumbnailStretch Or ThumbnailModeEnum.exThumbnailAutoFit
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

41
Can I limit the thumbnail size when the user resizes it

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.Margins = "16 16"
		.ThumbnailMinWidth = 64
		.ThumbnailMinHeight = 64
		.ThumbnailMaxWidth = 64
		.ThumbnailMaxHeight = 64
		.Mode = 30208 ' ThumbnailModeEnum.exThumbnailKeepAspectRatio Or ThumbnailModeEnum.exThumbnailAutoFitOnDblClk Or ThumbnailModeEnum.exThumbnailAllowResize Or ThumbnailModeEnum.exThumbnailCenter Or ThumbnailModeEnum.exThumbnailStretch
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.Caption = "fname"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

40
I've seen that that the thumbnail can be resized up to 120 points, can I change that

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.Margins = "8 8"
		.Padding = "0 0 0 8"
		.ThumbnailMinWidth = 32
		.ThumbnailMinHeight = 32
		.Mode = 30208 ' ThumbnailModeEnum.exThumbnailKeepAspectRatio Or ThumbnailModeEnum.exThumbnailAutoFitOnDblClk Or ThumbnailModeEnum.exThumbnailAllowResize Or ThumbnailModeEnum.exThumbnailCenter Or ThumbnailModeEnum.exThumbnailStretch
		.AcceptFolders = -1
		.WordWrap = False
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.Caption = "`<font ;4>` + fname replace `.` + fext with ``"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

39
How can I change the thumbnail's mode to stack

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.VirtualMode = False
		.Margins = "16 16"
		.Mode = 14081 ' ThumbnailModeEnum.exThumbnailAutoFitOnDblClk Or ThumbnailModeEnum.exThumbnailAllowResize Or ThumbnailModeEnum.exThumbnailCenter Or ThumbnailModeEnum.exThumbnailStretch Or ThumbnailModeEnum.exThumbnailAutoFit Or ThumbnailModeEnum.exThumbnailStack
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

38
How do I sort the thumbnails

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.Sort = 260 ' ThumbnailSortEnum.exThumbailSortReverse Or ThumbnailSortEnum.exThumbailSortBySize
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

37
How can I get thumbnailed all sub-files within the folder

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

36
How can I hide the thumbnail's frame
<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.Padding = ""
		.Alignment = 33
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample\elogo.jpg"
		.Caption = "ffolder ? ( `Name: <b>` + fname + `</b>` + `<br>` + ( len( 0:= ftype ) ? `Type: <b>` + =:0 + `</b>` + `<br>` : `` ) + ( ffolder" & _
	" = 1 ? `Size: <b>` + fsizeF + `</b>` + `<br>` : `` ) + `Created: <b>` + date(fcreated - bias/24/60) + `</b>` + `<br>` + `Modifie" & _
	"d: <b>` + date(fmodified - bias/24/60) + `</b>`+ `<br>` + `Last Opened: <b>` + date(fopened - bias/24/60) + `</b>`+ (fpicture ? " & _
	"(`<br>Dimensions: <b>` + fwidth + ` x ` + fheight + `</b>` ) : ``) ) : ffile"
		.Background(177) = RGB(0,0,0)
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

35
How do I get the thumbnail from the cursor
<BODY onload="Init()">
<SCRIPT LANGUAGE="VBScript">
Function Thumbnail1_MouseMove(Button,Shift,X,Y)
	With Thumbnail1
		alert( .ThumbnailFromPoint(-1,-1) )
	End With
End Function
</SCRIPT>

<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

34
I've noticed that the thumbnail's tooltip is displaying more information. How can I change that

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.ToolTipTitle = "File"
		.ToolTipText = "ffile replace fname with (`<b>` + fname + `</b>`)"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

33
How can I display more information about the thumbnail

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.Padding = ""
		.Alignment = 33
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample\EndangeredAnimals.png"
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample\logocanary.png"
		.Caption = "ffolder ? ( `Name: <b>` + fname + `</b>` + `<br>` + ( len( 0:= ftype ) ? `Type: <b>` + =:0 + `</b>` + `<br>` : `` ) + ( ffolder" & _
	" = 1 ? `Size: <b>` + fsizeF + `</b>` + `<br>` : `` ) + `Created: <b>` + date(fcreated - bias/24/60) + `</b>` + `<br>` + `Modifie" & _
	"d: <b>` + date(fmodified - bias/24/60) + `</b>`+ `<br>` + `Last Opened: <b>` + date(fopened - bias/24/60) + `</b>`+ (fpicture ? " & _
	"(`<br>Dimensions: <b>` + fwidth + ` x ` + fheight + `</b>` ) : ``) ) : ffile"
		.SingleCaption = .Caption
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

32
Can I display the thumbnail's caption based on the size of the view
<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.InputFile = "C:\Program Files\Exontrol\ExThumbnail\Sample\elogo.jpg"
		.Caption = "width < 256 ? fname : ffile"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

31
How do I know the thumbnail's size (sample 2)

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AcceptFolders = -1
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample"
		.Caption = "`View: ` + width + ` x ` + height"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

30
How do I know the thumbnail's size (sample 1)

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.InputFile = "C:\Program Files\Exontrol\ExThumbnail\Sample\elogo.jpg"
		.EndUpdate 
		alert( "Width: " )
		alert( .ThumbnailWidth )
		alert( "Height: " )
		alert( .ThumbnailHeight )
	End With
End Function
</SCRIPT>
</BODY>

29
Is it possible to get the dimensions of the picture file

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.InputFiles = "C:\Program Files\Exontrol\ExThumbnail\Sample\elogo.jpg"
		.Caption = "`Dimensions: <b>` + fwidth + ` x ` + fheight"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

28
Is there any function to determine whether the file is a picture

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample\elogo.jpg"
		.AddInputFiles "C:\Program Files\Exontrol\ExThumbnail\Sample\elogo.jpg.2"
		.Caption = "`IsPicture: <b>` + (fpicture ? `Yes` : `No`)"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

27
How can I get the type of the file, like JPG File, and so on...

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.InputFiles = "C:\Program Files\Exontrol\ExThumbnail\Sample\elogo.jpg"
		.Caption = "`Type: <b>` + ftype"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>

26
How do I get the file/folder's attributes

<BODY onload="Init()">
<OBJECT CLASSID="clsid:44BA596F-E225-476B-81B1-3BDE56AC595A" id="Thumbnail1"></OBJECT>

<SCRIPT LANGUAGE="VBScript">
Function Init()
	With Thumbnail1
		.BeginUpdate 
		.InputFiles = "C:\Program Files\Exontrol\ExThumbnail\Sample\elogo.jpg"
		.Caption = "`Attributes: <b>0x` + hex(fattr)"
		.EndUpdate 
	End With
End Function
</SCRIPT>
</BODY>