125 |
Explorer control (browse for the folder being double-clicked)
With Exthumbnail1 .BeginUpdate() .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeAny .Mode = exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailBrowseOnDblClk .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .EndUpdate() End With |
124 |
Can I display the size of the files, using 1 decimal, such as 10.2 KB instead of 10 KB
With Exthumbnail1 .BeginUpdate() .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .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 |
123 |
It appears that Created, Modified and Last Opened values are not correct (local)
With Exthumbnail1 .BeginUpdate() .Padding = "" .Alignment = exontrol.EXTHUMBNAILLib.TextAlignEnum.exAlignBottomCenter .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 |
122 |
It appears that Created, Modified and Last Opened values are not correct (bias)
With Exthumbnail1 .BeginUpdate() .Padding = "" .Alignment = exontrol.EXTHUMBNAILLib.TextAlignEnum.exAlignBottomCenter .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 |
121 |
How can I sort the thumbnails, case insensitive
|
120 |
How can I select programatically multiple files
' StateChange event - Fired while the control's state has been changed. Private Sub Exthumbnail1_StateChange(ByVal sender As System.Object,ByVal State As exontrol.EXTHUMBNAILLib.StateChangeEnum) Handles Exthumbnail1.StateChange With Exthumbnail1 Debug.Print( State ) Debug.Print( .Select ) End With End Sub With Exthumbnail1 .BeginUpdate() .AutoUpdate = True .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .SingleSel = False .Select = "Brazil.png\r\ncordova.png" .EndUpdate() End With |
119 |
Does your control support multiple-selection
' StateChange event - Fired while the control's state has been changed. Private Sub Exthumbnail1_StateChange(ByVal sender As System.Object,ByVal State As exontrol.EXTHUMBNAILLib.StateChangeEnum) Handles Exthumbnail1.StateChange With Exthumbnail1 Debug.Print( State ) Debug.Print( .Select ) End With End Sub With Exthumbnail1 .BeginUpdate() .AutoUpdate = True .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .SingleSel = False .Select = "Brazil.png\r\ncordova.png" .EndUpdate() End With |
118 |
Is it possible to show the selection with a different color, when the control loses the focus
|
117 |
Predefined Keywords of ShowContextMenu property
' StateChange event - Fired while the control's state has been changed. Private Sub Exthumbnail1_StateChange(ByVal sender As System.Object,ByVal State As exontrol.EXTHUMBNAILLib.StateChangeEnum) Handles Exthumbnail1.StateChange With Exthumbnail1 .ExecuteContextMenu = 0 End With End Sub With Exthumbnail1 .BeginUpdate() .AutoUpdate = True .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .ShowContextMenu = "`menu(` + menu + `)` + `,filecount=` + filecount + `,fileattr=` + hex(fileattr) + `,filename=` + filename + `,fileparsename=` +" & _ " fileparsename + `,filefullname=` + filefullname" .EndUpdate() End With |
116 |
How can I display the identifiers of the control's context menu (debug)
' StateChange event - Fired while the control's state has been changed. Private Sub Exthumbnail1_StateChange(ByVal sender As System.Object,ByVal State As exontrol.EXTHUMBNAILLib.StateChangeEnum) Handles Exthumbnail1.StateChange With Exthumbnail1 Debug.Print( "State" ) Debug.Print( State ) Debug.Print( "ExecuteContextMenu" ) Debug.Print( .ExecuteContextMenu ) End With End Sub With Exthumbnail1 .BeginUpdate() .AutoUpdate = True .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .ShowContextMenu = "`[debug]` + menu" .EndUpdate() End With |
115 |
How can I copy/execute command a file/folder as path (selection)
With Exthumbnail1 .BeginUpdate() .AutoUpdate = True .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .Select = "Brazil.png" .ExecuteContextCommand("<selection>",True,"Copy As Path") .EndUpdate() End With |
114 |
Is it possible to display the item's identifiers in the file's context menu
' StateChange event - Fired while the control's state has been changed. Private Sub Exthumbnail1_StateChange(ByVal sender As System.Object,ByVal State As exontrol.EXTHUMBNAILLib.StateChangeEnum) Handles Exthumbnail1.StateChange With Exthumbnail1 Debug.Print( "State " ) Debug.Print( State ) Debug.Print( "ContextMenu" ) Debug.Print( .ShowContextMenu ) .ShowContextMenu = .FormatABC("B = 20 ? (`[debug]`+ value) : value ",.ShowContextMenu,State) End With End Sub With Exthumbnail1 .BeginUpdate() .AutoUpdate = True .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .EndUpdate() End With |
113 |
How can I copy/execute command a file/folder (selection)
With Exthumbnail1 .BeginUpdate() .AutoUpdate = True .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .Select = "Brazil.png" .ExecuteContextCommand("<selection>",True,"Copy") .EndUpdate() End With |
112 |
How can I copy a file/folder (absolute name)
With Exthumbnail1 .BeginUpdate() .AutoUpdate = True .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .ExecuteContextCommand("c:\Temp",True,"Copy") .EndUpdate() End With |
111 |
How can I copy a file/folder (relative name)
With Exthumbnail1 .BeginUpdate() .AutoUpdate = True .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .ExecuteContextCommand("Belgium.png",True,"Copy") .EndUpdate() End With |
110 |
ShowContextMenu usage
' StateChange event - Fired while the control's state has been changed. Private Sub Exthumbnail1_StateChange(ByVal sender As System.Object,ByVal State As exontrol.EXTHUMBNAILLib.StateChangeEnum) Handles Exthumbnail1.StateChange With Exthumbnail1 Debug.Print( "State" ) Debug.Print( State ) Debug.Print( "ExecuteContextMenu" ) Debug.Print( .ExecuteContextMenu ) End With End Sub With Exthumbnail1 .BeginUpdate() .AutoUpdate = True .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .ShowContextMenu = "filecount = 0 ? `Exit[id=1000]` : ( ( ( filecount = 1 ) ? filename : `multiple selection` ) + `[dis],[sep],` + menu)" .EndUpdate() End With |
109 |
ShowContextMenu usage
' StateChange event - Fired while the control's state has been changed. Private Sub Exthumbnail1_StateChange(ByVal sender As System.Object,ByVal State As exontrol.EXTHUMBNAILLib.StateChangeEnum) Handles Exthumbnail1.StateChange With Exthumbnail1 Debug.Print( "State" ) Debug.Print( State ) Debug.Print( "ExecuteContextMenu" ) Debug.Print( .ExecuteContextMenu ) End With End Sub With Exthumbnail1 .BeginUpdate() .AutoUpdate = True .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .ShowContextMenu = "filecount > 1 ? `multiple selection[dis]` : menu" .EndUpdate() End With |
108 |
ShowContextMenu usage
' StateChange event - Fired while the control's state has been changed. Private Sub Exthumbnail1_StateChange(ByVal sender As System.Object,ByVal State As exontrol.EXTHUMBNAILLib.StateChangeEnum) Handles Exthumbnail1.StateChange With Exthumbnail1 Debug.Print( "State" ) Debug.Print( State ) Debug.Print( "ExecuteContextMenu" ) Debug.Print( .ExecuteContextMenu ) End With End Sub With Exthumbnail1 .BeginUpdate() .AutoUpdate = True .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .ShowContextMenu = "filecount > 1 ? `multiple selection[dis]` : menu" .EndUpdate() End With |
107 |
ShowContextMenu usage
' StateChange event - Fired while the control's state has been changed. Private Sub Exthumbnail1_StateChange(ByVal sender As System.Object,ByVal State As exontrol.EXTHUMBNAILLib.StateChangeEnum) Handles Exthumbnail1.StateChange With Exthumbnail1 Debug.Print( "State" ) Debug.Print( State ) Debug.Print( "ExecuteContextMenu" ) Debug.Print( .ExecuteContextMenu ) End With End Sub With Exthumbnail1 .BeginUpdate() .AutoUpdate = True .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .ShowContextMenu = "menu replace `&Delete` with ``" .EndUpdate() End With |
106 |
ShowContextMenu usage
' StateChange event - Fired while the control's state has been changed. Private Sub Exthumbnail1_StateChange(ByVal sender As System.Object,ByVal State As exontrol.EXTHUMBNAILLib.StateChangeEnum) Handles Exthumbnail1.StateChange With Exthumbnail1 Debug.Print( "State" ) Debug.Print( State ) Debug.Print( "ExecuteContextMenu" ) Debug.Print( .ExecuteContextMenu ) End With End Sub With Exthumbnail1 .BeginUpdate() .AutoUpdate = True .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .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 |
105 |
ShowContextMenu usage
' StateChange event - Fired while the control's state has been changed. Private Sub Exthumbnail1_StateChange(ByVal sender As System.Object,ByVal State As exontrol.EXTHUMBNAILLib.StateChangeEnum) Handles Exthumbnail1.StateChange With Exthumbnail1 Debug.Print( "State" ) Debug.Print( State ) Debug.Print( "ExecuteContextMenu" ) Debug.Print( .ExecuteContextMenu ) End With End Sub With Exthumbnail1 .BeginUpdate() .AutoUpdate = True .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .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 |
104 |
ShowContextMenu usage
' StateChange event - Fired while the control's state has been changed. Private Sub Exthumbnail1_StateChange(ByVal sender As System.Object,ByVal State As exontrol.EXTHUMBNAILLib.StateChangeEnum) Handles Exthumbnail1.StateChange With Exthumbnail1 Debug.Print( "State" ) Debug.Print( State ) Debug.Print( "ExecuteContextMenu" ) Debug.Print( .ExecuteContextMenu ) End With End Sub With Exthumbnail1 .BeginUpdate() .AutoUpdate = True .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .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 |
103 |
ShowContextMenu usage
' StateChange event - Fired while the control's state has been changed. Private Sub Exthumbnail1_StateChange(ByVal sender As System.Object,ByVal State As exontrol.EXTHUMBNAILLib.StateChangeEnum) Handles Exthumbnail1.StateChange With Exthumbnail1 Debug.Print( "State" ) Debug.Print( State ) Debug.Print( "ExecuteContextMenu" ) Debug.Print( .ExecuteContextMenu ) Debug.Print( "no context menu is generated, so nothing is displayed" ) End With End Sub With Exthumbnail1 .BeginUpdate() .AutoUpdate = True .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .ShowContextMenu = "``" .EndUpdate() End With |
102 |
How can I add new items to the default file's context menu
' StateChange event - Fired while the control's state has been changed. Private Sub Exthumbnail1_StateChange(ByVal sender As System.Object,ByVal State As exontrol.EXTHUMBNAILLib.StateChangeEnum) Handles Exthumbnail1.StateChange With Exthumbnail1 Debug.Print( "State " ) Debug.Print( State ) Debug.Print( "ContextMenu" ) Debug.Print( .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) Debug.Print( "Execute" ) Debug.Print( .ExecuteContextMenu ) End With End Sub With Exthumbnail1 .BeginUpdate() .AutoUpdate = True .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .EndUpdate() End With |
101 |
How can I disable the Delete command from the file's context menu
' StateChange event - Fired while the control's state has been changed. Private Sub Exthumbnail1_StateChange(ByVal sender As System.Object,ByVal State As exontrol.EXTHUMBNAILLib.StateChangeEnum) Handles Exthumbnail1.StateChange With Exthumbnail1 Debug.Print( "State " ) Debug.Print( State ) Debug.Print( "ContextMenu" ) Debug.Print( .ShowContextMenu ) End With End Sub With Exthumbnail1 .BeginUpdate() .AutoUpdate = True .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .ShowContextMenu = "menu replace `Delete` with `Delete[dis]`" .EndUpdate() End With |
100 |
How can I remove the Delete command from the file's context menu
' StateChange event - Fired while the control's state has been changed. Private Sub Exthumbnail1_StateChange(ByVal sender As System.Object,ByVal State As exontrol.EXTHUMBNAILLib.StateChangeEnum) Handles Exthumbnail1.StateChange With Exthumbnail1 Debug.Print( "State " ) Debug.Print( State ) Debug.Print( "ContextMenu" ) Debug.Print( .ShowContextMenu ) End With End Sub With Exthumbnail1 .BeginUpdate() .AutoUpdate = True .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .ShowContextMenu = "menu replace `&Delete` with ``" .EndUpdate() End With |
99 |
How can I provide my own context menu
' StateChange event - Fired while the control's state has been changed. Private Sub Exthumbnail1_StateChange(ByVal sender As System.Object,ByVal State As exontrol.EXTHUMBNAILLib.StateChangeEnum) Handles Exthumbnail1.StateChange With Exthumbnail1 Debug.Print( "State " ) Debug.Print( State ) Debug.Print( "ContextMenu" ) Debug.Print( .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])" Debug.Print( "ExecuteContextMenu" ) Debug.Print( .ExecuteContextMenu ) End With End Sub With Exthumbnail1 .BeginUpdate() .AutoUpdate = True .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .EndUpdate() End With |
98 |
Is it possible to prevent executing a specific command from the object's context menu
' StateChange event - Fired while the control's state has been changed. Private Sub Exthumbnail1_StateChange(ByVal sender As System.Object,ByVal State As exontrol.EXTHUMBNAILLib.StateChangeEnum) Handles Exthumbnail1.StateChange With Exthumbnail1 Debug.Print( "State " ) Debug.Print( State ) Debug.Print( "ContextMenu" ) Debug.Print( .ShowContextMenu ) Debug.Print( "ExecuteContextMenu" ) Debug.Print( .ExecuteContextMenu ) .ExecuteContextMenu = 0 End With End Sub With Exthumbnail1 .BeginUpdate() .AutoUpdate = True .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .EndUpdate() End With |
97 |
How can I disable the Delete command from the object's context menu
' StateChange event - Fired while the control's state has been changed. Private Sub Exthumbnail1_StateChange(ByVal sender As System.Object,ByVal State As exontrol.EXTHUMBNAILLib.StateChangeEnum) Handles Exthumbnail1.StateChange With Exthumbnail1 Debug.Print( "State " ) Debug.Print( State ) Debug.Print( "ContextMenu" ) Debug.Print( .ShowContextMenu ) .ShowContextMenu = .FormatABC("value replace `&Delete` with `&Delete[dis]`",.ShowContextMenu) End With End Sub With Exthumbnail1 .BeginUpdate() .AutoUpdate = True .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .EndUpdate() End With |
96 |
How can I programmatically selects a file
' StateChange event - Fired while the control's state has been changed. Private Sub Exthumbnail1_StateChange(ByVal sender As System.Object,ByVal State As exontrol.EXTHUMBNAILLib.StateChangeEnum) Handles Exthumbnail1.StateChange With Exthumbnail1 Debug.Print( State ) End With End Sub With Exthumbnail1 .BeginUpdate() .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeAny .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exThumbnailSelBorderColor,Color.FromArgb(255,0,0)) .set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exThumbnailSelBorderColorHide,.get_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exThumbnailSelBorderColor)) .Select = "Access2007" .EndUpdate() End With |
95 |
How can I programmatically unselect the file
' StateChange event - Fired while the control's state has been changed. Private Sub Exthumbnail1_StateChange(ByVal sender As System.Object,ByVal State As exontrol.EXTHUMBNAILLib.StateChangeEnum) Handles Exthumbnail1.StateChange With Exthumbnail1 Debug.Print( State ) End With End Sub With Exthumbnail1 .BeginUpdate() .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeAny .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exThumbnailSelBorderColor,Color.FromArgb(255,0,0)) .set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exThumbnailSelBorderColorHide,.get_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exThumbnailSelBorderColor)) .Select = "" .EndUpdate() End With |
94 |
How can I change the color to show the selected frame
|
93 |
How can I remove the frame being selected when the control loses the focus (hidesel)
With Exthumbnail1 .BeginUpdate() .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeAny .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .set_Background32(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exThumbnailSelBorderColorHide,-1) .EndUpdate() End With |
92 |
When I drop a folder, can I include all its content, files and sub-folders
|
91 |
When I drop a folder, can I include sub-folders only
|
90 |
I've noticed that if I drop a single file I get a different caption. How can I change that (sample 2)
With Exthumbnail1 .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 |
89 |
I've noticed that if I drop a single file I get a different caption. How can I change that (sample 1)
|
88 |
Can I somehow show the close button of the control's filter bar to the right, only if required
|
87 |
I have a filter being applied, the question is how can I display the number/count of results (sample 3)
|
86 |
Just icons are shown when droping the file into the control. What can I check
With Exthumbnail1 .BeginUpdate() .ThumbnailType = exontrol.EXTHUMBNAILLib.ThumbnailTypeEnum.exThumbnailAvail .ExtractMethod = "ThumbnailCache,ThumbnailProvider,ExtractImage" .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .EndUpdate() End With |
85 |
How can I turn on the auto-update, so the thumbnails updates automatically once the user changes the files
With Exthumbnail1 .BeginUpdate() .AutoUpdate = True .AllowContextMenu = True .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .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 |
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
With Exthumbnail1 .BeginUpdate() .AutoUpdate = True .AllowContextMenu = True .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .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 |
83 |
Is it possible to displays the file's context menu
With Exthumbnail1 .BeginUpdate() .AllowContextMenu = True .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .EndUpdate() End With |
82 |
How can I programmatically get the number of results
' Click event - Occurs when the user presses and then releases the left mouse button over the control. Private Sub Exthumbnail1_Click(ByVal sender As System.Object) Handles Exthumbnail1.Click With Exthumbnail1 Debug.Print( "Results:" ) Debug.Print( .FormatABC("fvcount") ) Debug.Print( "Total:" ) Debug.Print( .FormatABC("fcount") ) End With End Sub With Exthumbnail1 .BeginUpdate() .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .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 |
81 |
I have a filter being applied, the question is how can I display the number/count of results (sample 2)
|
80 |
I have a filter being applied, the question is how can I display the number of results (sample 1)
|
79 |
Is it possible to display the number of files that are currently in the list
|
78 |
How can I specify the number of files to be displayed
|
77 |
Is it possible to limit the number of files to be shown to one
|
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
With Exthumbnail1 .BeginUpdate() .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .Mode = exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailKeepAspectRatio Or exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailAutoFitOnDblClk Or exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailCenter Or exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailStretch Or exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailAutoFit .EndUpdate() End With |
75 |
How can I display the name on a line, and the size on the other line
With Exthumbnail1 .BeginUpdate() .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .Padding = "0 0 0 36" .Margins = "4 0" .Sort = exontrol.EXTHUMBNAILLib.ThumbnailSortEnum.exThumbailSortBySize .WordWrap = True .Caption = "ffolder ? ( lower(fname) + ( len( 0:=fsizeF ) ? `<br><c>` + =:0 : `` ) ) : ffile" .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .EndUpdate() End With |
74 |
Can I display the name of the thumbnails without the extension
With Exthumbnail1 .BeginUpdate() .set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exThumbnailBorderColor,Color.FromArgb(1,0,0)) .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .WordWrap = False .Caption = "ffolder ? ( lower(fname replace `.` + fext with ``) + ( len( 0:=fsizeF ) ? `, ` + =:0 : `` ) ) : ffile" .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .EndUpdate() End With |
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
' DblClick event - Occurs when the user dblclk the left mouse button over an object. Private Sub Exthumbnail1_DblClick(ByVal sender As System.Object,ByVal Shift As Short,ByVal X As Integer,ByVal Y As Integer) Handles Exthumbnail1.DblClick With Exthumbnail1 Debug.Print( .get_ThumbnailFromPoint(-1,-1) ) End With End Sub With Exthumbnail1 .BeginUpdate() .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .Mode = exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailKeepAspectRatio Or exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailAllowResize Or exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailCenter Or exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailStretch Or exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailAutoFit .EndUpdate() End With |
72 |
How can I hide/prevent showing the control's filter
|
71 |
The thumbnails get resized as soon as I change the filter. Can I make it fixed
With Exthumbnail1 .BeginUpdate() .set_ScrollPartVisible(exontrol.EXTHUMBNAILLib.ScrollBarEnum.exVScroll,exontrol.EXTHUMBNAILLib.ScrollPartEnum.exExtentThumbPart,True) .set_ScrollPartVisible(exontrol.EXTHUMBNAILLib.ScrollBarEnum.exHScroll,exontrol.EXTHUMBNAILLib.ScrollPartEnum.exExtentThumbPart,True) .set_ScrollPartVisible(&H2,exontrol.EXTHUMBNAILLib.ScrollPartEnum.exExtentThumbPart,True) .ScrollWidth = 4 .set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exVSBack,Color.FromArgb(240,240,240)) .set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exVSThumb,Color.FromArgb(128,128,128)) .ScrollHeight = 4 .set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exHSBack,.get_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exVSBack)) .set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exHSThumb,.get_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exVSThumb)) .set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exScrollSizeGrip,.get_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exVSBack)) .Mode = exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailKeepAspectRatio Or exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailAutoFitOnDblClk Or exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailAllowResize Or exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailCenter Or exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailStretch .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .EndUpdate() End With |
70 |
Is it possible to display the names in lower-case, and with a different color the size
|
69 |
Is it possible to display the names in upper-case
|
68 |
How can I programmatically apply a filter to the control
' Click event - Occurs when the user presses and then releases the left mouse button over the control. Private Sub Exthumbnail1_Click(ByVal sender As System.Object) Handles Exthumbnail1.Click With Exthumbnail1 .FilterBarPromptPattern = "jpg" End With End Sub With Exthumbnail1 .BeginUpdate() .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .EndUpdate() End With |
67 |
How can I clear programmatically the control's filter
' Click event - Occurs when the user presses and then releases the left mouse button over the control. Private Sub Exthumbnail1_Click(ByVal sender As System.Object) Handles Exthumbnail1.Click With Exthumbnail1 .FilterBarPromptPattern = "" End With End Sub With Exthumbnail1 .BeginUpdate() .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .FilterBarPromptPattern = "jpg" .EndUpdate() End With |
66 |
Is the "Start Filter ..." customizable, so I can change to my language
|
65 |
How can I define what to filter for. For instance, just the name, extension. Is it possible
With Exthumbnail1 .BeginUpdate() .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .FilterBarFor = "fname" .FilterBarPromptPattern = "jpg" .EndUpdate() End With |
64 |
It is possible to turn-on case-sensitive for the control's filter
|
63 |
Can I filter the thumbnails that starts with instead contains typed characters
|
62 |
Can I use wild characters in the filter
|
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
|
60 |
How can I change the filter's bar foreground/background color
With Exthumbnail1 .BeginUpdate() .FilterBarBackColor = Color.FromArgb(0,0,0) .FilterBarForeColor = Color.FromArgb(255,255,255) .FilterBarPrompt = "<i>Start Filter...</i>" .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .EndUpdate() End With |
59 |
The question is can I somehow show the close button of the control's filter bar to the right
|
58 |
Is it possible to change the color to show the close button of the control's filter bar
|
57 |
How can I prevent showing the close button, in the control's filter bar
With Exthumbnail1 .BeginUpdate() .set_Background32(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exFooterFilterBarButton,-1) .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .EndUpdate() End With |
56 |
Is it possible to show the close button, only if there is a filter applied
|
55 |
How can I close/hide the filter once the user clicks the close button
|
54 |
How can I disable the control's filter bar
|
53 |
How can I enable the control's filter bar
|
52 |
How can I enable alternate background/foreground colors
With Exthumbnail1 .BeginUpdate() .set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exThumbnailBackColorAlt,Color.FromArgb(240,240,240)) .set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exThumbnailForeColorAlt,Color.FromArgb(128,128,128)) .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .EndUpdate() End With |
51 |
How can I remove all margins, so I have a compact view
|
50 |
The thumbnail's caption gets wrapped, the question is can I disable that
With Exthumbnail1 .BeginUpdate() .Margins = "16 16" .ThumbnailMinWidth = 32 .ThumbnailMinHeight = 32 .Mode = exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailKeepAspectRatio Or exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailAutoFitOnDblClk Or exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailAllowResize Or exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailCenter Or exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailStretch .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .WordWrap = False .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .EndUpdate() End With |
49 |
How can I display the thumbnail's caption on the right rather than bottom
With Exthumbnail1 .BeginUpdate() .Margins = "0 16" .Padding = "0 0 16 0" .Borders = "16 16 16 16" .CaptionRotate = exontrol.EXTHUMBNAILLib.HTMLRotateEnum.exHTMLMirror Or exontrol.EXTHUMBNAILLib.HTMLRotateEnum.exHTMLVertical .set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exThumbnailBorderColor,Color.FromArgb(1,0,0)) .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .WordWrap = False .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .EndUpdate() End With |
48 |
How can I display the thumbnail's caption on the left rather than bottom
With Exthumbnail1 .BeginUpdate() .Margins = "0 16" .Padding = "16 0 0 0" .Borders = "16 16 16 16" .CaptionRotate = exontrol.EXTHUMBNAILLib.HTMLRotateEnum.exHTMLVertical .set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exThumbnailBorderColor,Color.FromArgb(1,0,0)) .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .WordWrap = False .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .EndUpdate() End With |
47 |
How can I display the thumbnail's caption on the top rather than bottom
With Exthumbnail1 .BeginUpdate() .Margins = "16 0" .Padding = "0 16 0 0" .Borders = "16 16 16 16" .set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exThumbnailBorderColor,Color.FromArgb(1,0,0)) .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .WordWrap = False .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .EndUpdate() End With |
46 |
How do I enable the scrollbar-extension, as thumb to be shown outside of the control's client area
With Exthumbnail1 .BeginUpdate() .set_ScrollPartVisible(exontrol.EXTHUMBNAILLib.ScrollBarEnum.exVScroll,exontrol.EXTHUMBNAILLib.ScrollPartEnum.exExtentThumbPart,True) .set_ScrollPartVisible(exontrol.EXTHUMBNAILLib.ScrollBarEnum.exHScroll,exontrol.EXTHUMBNAILLib.ScrollPartEnum.exExtentThumbPart,True) .set_ScrollPartVisible(&H2,exontrol.EXTHUMBNAILLib.ScrollPartEnum.exExtentThumbPart,True) .ScrollWidth = 4 .set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exVSBack,Color.FromArgb(240,240,240)) .set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exVSThumb,Color.FromArgb(128,128,128)) .ScrollHeight = 4 .set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exHSBack,.get_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exVSBack)) .set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exHSThumb,.get_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exVSThumb)) .set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exScrollSizeGrip,.get_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exVSBack)) .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .EndUpdate() End With |
45 |
How can I prevent showing the control's scroll bars
With Exthumbnail1 .BeginUpdate() .AutoDrag = exontrol.EXTHUMBNAILLib.AutoDragEnum.exAutoDragNone .ScrollWidth = 0 .ScrollHeight = 0 .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .EndUpdate() End With |
44 |
How can I modify the margins of the thumbnail
With Exthumbnail1 .BeginUpdate() .Margins = "16 0" .Padding = "0 16 0 0" .Borders = "16 16 16 16" .WordWrap = False .set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exThumbnailBorderColor,Color.FromArgb(1,0,0)) .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .EndUpdate() End With |
43 |
The thumbnail view gets scrolled when user clicks it. Can I disable that
|
42 |
The thumbnail get maximized as soon as the user double clicks it. May I prevent that
|
41 |
Can I limit the thumbnail size when the user resizes it
With Exthumbnail1 .BeginUpdate() .Margins = "16 16" .ThumbnailMinWidth = 64 .ThumbnailMinHeight = 64 .ThumbnailMaxWidth = 64 .ThumbnailMaxHeight = 64 .Mode = exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailKeepAspectRatio Or exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailAutoFitOnDblClk Or exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailAllowResize Or exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailCenter Or exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailStretch .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .Caption = "fname" .EndUpdate() End With |
40 |
I've seen that that the thumbnail can be resized up to 120 points, can I change that
With Exthumbnail1 .BeginUpdate() .Margins = "8 8" .Padding = "0 0 0 8" .ThumbnailMinWidth = 32 .ThumbnailMinHeight = 32 .Mode = exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailKeepAspectRatio Or exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailAutoFitOnDblClk Or exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailAllowResize Or exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailCenter Or exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailStretch .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .WordWrap = False .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .Caption = "`<font ;4>` + fname replace `.` + fext with ``" .EndUpdate() End With |
39 |
How can I change the thumbnail's mode to stack
With Exthumbnail1 .BeginUpdate() .VirtualMode = False .Margins = "16 16" .Mode = exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailAutoFitOnDblClk Or exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailAllowResize Or exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailCenter Or exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailStretch Or exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailAutoFit Or exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailStack .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .EndUpdate() End With |
38 |
How do I sort the thumbnails
|
37 |
How can I get thumbnailed all sub-files within the folder
|
36 |
How can I hide the thumbnail's frame
|
35 |
How do I get the thumbnail from the cursor
' MouseMove event - Occurs when the user moves the mouse. Private Sub Exthumbnail1_MouseMoveEvent(ByVal sender As System.Object,ByVal Button As Short,ByVal Shift As Short,ByVal X As Integer,ByVal Y As Integer) Handles Exthumbnail1.MouseMoveEvent With Exthumbnail1 Debug.Print( .get_ThumbnailFromPoint(-1,-1) ) End With End Sub With Exthumbnail1 .BeginUpdate() .AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly .AddInputFiles("C:\Program Files\Exontrol\ExThumbnail\Sample") .EndUpdate() End With |
34 |
I've noticed that the thumbnail's tooltip is displaying more information. How can I change that
|
33 |
How can I display more information about the thumbnail
With Exthumbnail1 .BeginUpdate() .Padding = "" .Alignment = exontrol.EXTHUMBNAILLib.TextAlignEnum.exAlignBottomCenter .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 |
32 |
Can I display the thumbnail's caption based on the size of the view
|
31 |
How do I know the thumbnail's size (sample 2)
|
30 |
How do I know the thumbnail's size (sample 1)
With Exthumbnail1 .BeginUpdate() .InputFile = "C:\Program Files\Exontrol\ExThumbnail\Sample\elogo.jpg" .EndUpdate() Debug.Print( "Width: " ) Debug.Print( .ThumbnailWidth ) Debug.Print( "Height: " ) Debug.Print( .ThumbnailHeight ) End With |
29 |
Is it possible to get the dimensions of the picture file
|
28 |
Is there any function to determine whether the file is a picture
|
27 |
How can I get the type of the file, like JPG File, and so on...
|
26 |
How do I get the file/folder's attributes
|