125 |
Explorer control (browse for the folder being double-clicked)
exthumbnail1.BeginUpdate(); exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeAny; exthumbnail1.Mode = exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailBrowseOnDblClk; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.EndUpdate(); |
124 |
Can I display the size of the files, using 1 decimal, such as 10.2 KB instead of 10 KB
exthumbnail1.BeginUpdate(); exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.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"; exthumbnail1.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"; exthumbnail1.EndUpdate(); |
123 |
It appears that Created, Modified and Last Opened values are not correct (local)
exthumbnail1.BeginUpdate(); exthumbnail1.Padding = ""; exthumbnail1.Alignment = exontrol.EXTHUMBNAILLib.TextAlignEnum.exAlignBottomCenter; exthumbnail1.InputFiles = "C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\elogo.jpg"; exthumbnail1.Caption = "`Created: <b><r>` + fcreated_local + `</b>` + `<br>` + `Modified: <b><r>` + fmodified_local + `</b>`+ `<br>` + `Last Opened: <r" + "><b>` + fopened_local + `</b>`"; exthumbnail1.SingleCaption = exthumbnail1.Caption; exthumbnail1.EndUpdate(); |
122 |
It appears that Created, Modified and Last Opened values are not correct (bias)
exthumbnail1.BeginUpdate(); exthumbnail1.Padding = ""; exthumbnail1.Alignment = exontrol.EXTHUMBNAILLib.TextAlignEnum.exAlignBottomCenter; exthumbnail1.InputFiles = "C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\elogo.jpg"; exthumbnail1.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>`"; exthumbnail1.SingleCaption = exthumbnail1.Caption; exthumbnail1.EndUpdate(); |
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 void exthumbnail1_StateChange(object sender,exontrol.EXTHUMBNAILLib.StateChangeEnum State) { System.Diagnostics.Debug.Print( State.ToString() ); System.Diagnostics.Debug.Print( exthumbnail1.Select ); } //this.exthumbnail1.StateChange += new exontrol.EXTHUMBNAILLib.exg2antt.StateChangeEventHandler(this.exthumbnail1_StateChange); exthumbnail1.BeginUpdate(); exthumbnail1.AutoUpdate = true; exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.SingleSel = false; exthumbnail1.Select = "Brazil.png\\r\\ncordova.png"; exthumbnail1.EndUpdate(); |
119 |
Does your control support multiple-selection
// StateChange event - Fired while the control's state has been changed. private void exthumbnail1_StateChange(object sender,exontrol.EXTHUMBNAILLib.StateChangeEnum State) { System.Diagnostics.Debug.Print( State.ToString() ); System.Diagnostics.Debug.Print( exthumbnail1.Select ); } //this.exthumbnail1.StateChange += new exontrol.EXTHUMBNAILLib.exg2antt.StateChangeEventHandler(this.exthumbnail1_StateChange); exthumbnail1.BeginUpdate(); exthumbnail1.AutoUpdate = true; exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.SingleSel = false; exthumbnail1.Select = "Brazil.png\\r\\ncordova.png"; exthumbnail1.EndUpdate(); |
118 |
Is it possible to show the selection with a different color, when the control loses the focus
|
117 |
Predefined Keywords of ShowContextMenu property
|
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 void exthumbnail1_StateChange(object sender,exontrol.EXTHUMBNAILLib.StateChangeEnum State) { System.Diagnostics.Debug.Print( "State" ); System.Diagnostics.Debug.Print( State.ToString() ); System.Diagnostics.Debug.Print( "ExecuteContextMenu" ); System.Diagnostics.Debug.Print( exthumbnail1.ExecuteContextMenu.ToString() ); } //this.exthumbnail1.StateChange += new exontrol.EXTHUMBNAILLib.exg2antt.StateChangeEventHandler(this.exthumbnail1_StateChange); exthumbnail1.BeginUpdate(); exthumbnail1.AutoUpdate = true; exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.ShowContextMenu = "`[debug]` + menu"; exthumbnail1.EndUpdate(); |
115 |
How can I copy/execute command a file/folder as path (selection)
|
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 void exthumbnail1_StateChange(object sender,exontrol.EXTHUMBNAILLib.StateChangeEnum State) { System.Diagnostics.Debug.Print( "State " ); System.Diagnostics.Debug.Print( State.ToString() ); System.Diagnostics.Debug.Print( "ContextMenu" ); System.Diagnostics.Debug.Print( exthumbnail1.ShowContextMenu ); exthumbnail1.ShowContextMenu = exthumbnail1.FormatABC("B = 20 ? (`[debug]`+ value) : value ",exthumbnail1.ShowContextMenu,State,null,null).ToString(); } //this.exthumbnail1.StateChange += new exontrol.EXTHUMBNAILLib.exg2antt.StateChangeEventHandler(this.exthumbnail1_StateChange); exthumbnail1.BeginUpdate(); exthumbnail1.AutoUpdate = true; exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.EndUpdate(); |
113 |
How can I copy/execute command a file/folder (selection)
|
112 |
How can I copy a file/folder (absolute name)
|
111 |
How can I copy a file/folder (relative name)
|
110 |
ShowContextMenu usage
// StateChange event - Fired while the control's state has been changed. private void exthumbnail1_StateChange(object sender,exontrol.EXTHUMBNAILLib.StateChangeEnum State) { System.Diagnostics.Debug.Print( "State" ); System.Diagnostics.Debug.Print( State.ToString() ); System.Diagnostics.Debug.Print( "ExecuteContextMenu" ); System.Diagnostics.Debug.Print( exthumbnail1.ExecuteContextMenu.ToString() ); } //this.exthumbnail1.StateChange += new exontrol.EXTHUMBNAILLib.exg2antt.StateChangeEventHandler(this.exthumbnail1_StateChange); exthumbnail1.BeginUpdate(); exthumbnail1.AutoUpdate = true; exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.ShowContextMenu = "filecount = 0 ? `Exit[id=1000]` : ( ( ( filecount = 1 ) ? filename : `multiple selection` ) + `[dis],[sep],` + menu)"; exthumbnail1.EndUpdate(); |
109 |
ShowContextMenu usage
// StateChange event - Fired while the control's state has been changed. private void exthumbnail1_StateChange(object sender,exontrol.EXTHUMBNAILLib.StateChangeEnum State) { System.Diagnostics.Debug.Print( "State" ); System.Diagnostics.Debug.Print( State.ToString() ); System.Diagnostics.Debug.Print( "ExecuteContextMenu" ); System.Diagnostics.Debug.Print( exthumbnail1.ExecuteContextMenu.ToString() ); } //this.exthumbnail1.StateChange += new exontrol.EXTHUMBNAILLib.exg2antt.StateChangeEventHandler(this.exthumbnail1_StateChange); exthumbnail1.BeginUpdate(); exthumbnail1.AutoUpdate = true; exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.ShowContextMenu = "filecount > 1 ? `multiple selection[dis]` : menu"; exthumbnail1.EndUpdate(); |
108 |
ShowContextMenu usage
// StateChange event - Fired while the control's state has been changed. private void exthumbnail1_StateChange(object sender,exontrol.EXTHUMBNAILLib.StateChangeEnum State) { System.Diagnostics.Debug.Print( "State" ); System.Diagnostics.Debug.Print( State.ToString() ); System.Diagnostics.Debug.Print( "ExecuteContextMenu" ); System.Diagnostics.Debug.Print( exthumbnail1.ExecuteContextMenu.ToString() ); } //this.exthumbnail1.StateChange += new exontrol.EXTHUMBNAILLib.exg2antt.StateChangeEventHandler(this.exthumbnail1_StateChange); exthumbnail1.BeginUpdate(); exthumbnail1.AutoUpdate = true; exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.ShowContextMenu = "filecount > 1 ? `multiple selection[dis]` : menu"; exthumbnail1.EndUpdate(); |
107 |
ShowContextMenu usage
// StateChange event - Fired while the control's state has been changed. private void exthumbnail1_StateChange(object sender,exontrol.EXTHUMBNAILLib.StateChangeEnum State) { System.Diagnostics.Debug.Print( "State" ); System.Diagnostics.Debug.Print( State.ToString() ); System.Diagnostics.Debug.Print( "ExecuteContextMenu" ); System.Diagnostics.Debug.Print( exthumbnail1.ExecuteContextMenu.ToString() ); } //this.exthumbnail1.StateChange += new exontrol.EXTHUMBNAILLib.exg2antt.StateChangeEventHandler(this.exthumbnail1_StateChange); exthumbnail1.BeginUpdate(); exthumbnail1.AutoUpdate = true; exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.ShowContextMenu = "menu replace `&Delete` with ``"; exthumbnail1.EndUpdate(); |
106 |
ShowContextMenu usage
// StateChange event - Fired while the control's state has been changed. private void exthumbnail1_StateChange(object sender,exontrol.EXTHUMBNAILLib.StateChangeEnum State) { System.Diagnostics.Debug.Print( "State" ); System.Diagnostics.Debug.Print( State.ToString() ); System.Diagnostics.Debug.Print( "ExecuteContextMenu" ); System.Diagnostics.Debug.Print( exthumbnail1.ExecuteContextMenu.ToString() ); } //this.exthumbnail1.StateChange += new exontrol.EXTHUMBNAILLib.exg2antt.StateChangeEventHandler(this.exthumbnail1_StateChange); exthumbnail1.BeginUpdate(); exthumbnail1.AutoUpdate = true; exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.ShowContextMenu = "`Popup(Item 1[id=1001],Item 2[id=1002],Item 3[id=1003]),` + menu + `,Exit[id=1000]`"; exthumbnail1.EndUpdate(); |
105 |
ShowContextMenu usage
// StateChange event - Fired while the control's state has been changed. private void exthumbnail1_StateChange(object sender,exontrol.EXTHUMBNAILLib.StateChangeEnum State) { System.Diagnostics.Debug.Print( "State" ); System.Diagnostics.Debug.Print( State.ToString() ); System.Diagnostics.Debug.Print( "ExecuteContextMenu" ); System.Diagnostics.Debug.Print( exthumbnail1.ExecuteContextMenu.ToString() ); } //this.exthumbnail1.StateChange += new exontrol.EXTHUMBNAILLib.exg2antt.StateChangeEventHandler(this.exthumbnail1_StateChange); exthumbnail1.BeginUpdate(); exthumbnail1.AutoUpdate = true; exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.ShowContextMenu = "filecount = 0 ? `Popup(Item 1[id=1001],Item 2[id=1002],Item 3[id=1003]),[sep],Exit[def][id=1000]` : menu"; exthumbnail1.EndUpdate(); |
104 |
ShowContextMenu usage
// StateChange event - Fired while the control's state has been changed. private void exthumbnail1_StateChange(object sender,exontrol.EXTHUMBNAILLib.StateChangeEnum State) { System.Diagnostics.Debug.Print( "State" ); System.Diagnostics.Debug.Print( State.ToString() ); System.Diagnostics.Debug.Print( "ExecuteContextMenu" ); System.Diagnostics.Debug.Print( exthumbnail1.ExecuteContextMenu.ToString() ); } //this.exthumbnail1.StateChange += new exontrol.EXTHUMBNAILLib.exg2antt.StateChangeEventHandler(this.exthumbnail1_StateChange); exthumbnail1.BeginUpdate(); exthumbnail1.AutoUpdate = true; exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.ShowContextMenu = "Popup(Item 1[id=1001],Item 2[id=1002],Item 3[id=1003]),[sep],Exit[def][id=1000]"; exthumbnail1.EndUpdate(); |
103 |
ShowContextMenu usage
// StateChange event - Fired while the control's state has been changed. private void exthumbnail1_StateChange(object sender,exontrol.EXTHUMBNAILLib.StateChangeEnum State) { System.Diagnostics.Debug.Print( "State" ); System.Diagnostics.Debug.Print( State.ToString() ); System.Diagnostics.Debug.Print( "ExecuteContextMenu" ); System.Diagnostics.Debug.Print( exthumbnail1.ExecuteContextMenu.ToString() ); System.Diagnostics.Debug.Print( "no context menu is generated, so nothing is displayed" ); } //this.exthumbnail1.StateChange += new exontrol.EXTHUMBNAILLib.exg2antt.StateChangeEventHandler(this.exthumbnail1_StateChange); exthumbnail1.BeginUpdate(); exthumbnail1.AutoUpdate = true; exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.ShowContextMenu = "``"; exthumbnail1.EndUpdate(); |
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 void exthumbnail1_StateChange(object sender,exontrol.EXTHUMBNAILLib.StateChangeEnum State) { System.Diagnostics.Debug.Print( "State " ); System.Diagnostics.Debug.Print( State.ToString() ); System.Diagnostics.Debug.Print( "ContextMenu" ); System.Diagnostics.Debug.Print( exthumbnail1.ShowContextMenu ); exthumbnail1.ShowContextMenu = exthumbnail1.FormatABC("B = 20 ? ( `My First Popup[def](A,B,C),[sep],`+ value + `,[sep],My Last Popup[def](A,B,C)` ) : value",exthumbnail1.ShowContextMenu,State,null,null).ToString(); System.Diagnostics.Debug.Print( "Execute" ); System.Diagnostics.Debug.Print( exthumbnail1.ExecuteContextMenu.ToString() ); } //this.exthumbnail1.StateChange += new exontrol.EXTHUMBNAILLib.exg2antt.StateChangeEventHandler(this.exthumbnail1_StateChange); exthumbnail1.BeginUpdate(); exthumbnail1.AutoUpdate = true; exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.EndUpdate(); |
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 void exthumbnail1_StateChange(object sender,exontrol.EXTHUMBNAILLib.StateChangeEnum State) { System.Diagnostics.Debug.Print( "State " ); System.Diagnostics.Debug.Print( State.ToString() ); System.Diagnostics.Debug.Print( "ContextMenu" ); System.Diagnostics.Debug.Print( exthumbnail1.ShowContextMenu ); } //this.exthumbnail1.StateChange += new exontrol.EXTHUMBNAILLib.exg2antt.StateChangeEventHandler(this.exthumbnail1_StateChange); exthumbnail1.BeginUpdate(); exthumbnail1.AutoUpdate = true; exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.ShowContextMenu = "menu replace `Delete` with `Delete[dis]`"; exthumbnail1.EndUpdate(); |
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 void exthumbnail1_StateChange(object sender,exontrol.EXTHUMBNAILLib.StateChangeEnum State) { System.Diagnostics.Debug.Print( "State " ); System.Diagnostics.Debug.Print( State.ToString() ); System.Diagnostics.Debug.Print( "ContextMenu" ); System.Diagnostics.Debug.Print( exthumbnail1.ShowContextMenu ); } //this.exthumbnail1.StateChange += new exontrol.EXTHUMBNAILLib.exg2antt.StateChangeEventHandler(this.exthumbnail1_StateChange); exthumbnail1.BeginUpdate(); exthumbnail1.AutoUpdate = true; exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.ShowContextMenu = "menu replace `&Delete` with ``"; exthumbnail1.EndUpdate(); |
99 |
How can I provide my own context menu
// StateChange event - Fired while the control's state has been changed. private void exthumbnail1_StateChange(object sender,exontrol.EXTHUMBNAILLib.StateChangeEnum State) { System.Diagnostics.Debug.Print( "State " ); System.Diagnostics.Debug.Print( State.ToString() ); System.Diagnostics.Debug.Print( "ContextMenu" ); System.Diagnostics.Debug.Print( exthumbnail1.ShowContextMenu ); exthumbnail1.ShowContextMenu = "Item 1[id=1][def],Item 2[id=2],[sep][id=3],Popup[id=4](Item 3[id=5],Item 4[id=6])"; System.Diagnostics.Debug.Print( "ExecuteContextMenu" ); System.Diagnostics.Debug.Print( exthumbnail1.ExecuteContextMenu.ToString() ); } //this.exthumbnail1.StateChange += new exontrol.EXTHUMBNAILLib.exg2antt.StateChangeEventHandler(this.exthumbnail1_StateChange); exthumbnail1.BeginUpdate(); exthumbnail1.AutoUpdate = true; exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.EndUpdate(); |
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 void exthumbnail1_StateChange(object sender,exontrol.EXTHUMBNAILLib.StateChangeEnum State) { System.Diagnostics.Debug.Print( "State " ); System.Diagnostics.Debug.Print( State.ToString() ); System.Diagnostics.Debug.Print( "ContextMenu" ); System.Diagnostics.Debug.Print( exthumbnail1.ShowContextMenu ); System.Diagnostics.Debug.Print( "ExecuteContextMenu" ); System.Diagnostics.Debug.Print( exthumbnail1.ExecuteContextMenu.ToString() ); exthumbnail1.ExecuteContextMenu = 0; } //this.exthumbnail1.StateChange += new exontrol.EXTHUMBNAILLib.exg2antt.StateChangeEventHandler(this.exthumbnail1_StateChange); exthumbnail1.BeginUpdate(); exthumbnail1.AutoUpdate = true; exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.EndUpdate(); |
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 void exthumbnail1_StateChange(object sender,exontrol.EXTHUMBNAILLib.StateChangeEnum State) { System.Diagnostics.Debug.Print( "State " ); System.Diagnostics.Debug.Print( State.ToString() ); System.Diagnostics.Debug.Print( "ContextMenu" ); System.Diagnostics.Debug.Print( exthumbnail1.ShowContextMenu ); exthumbnail1.ShowContextMenu = exthumbnail1.FormatABC("value replace `&Delete` with `&Delete[dis]`",exthumbnail1.ShowContextMenu,null,null,null).ToString(); } //this.exthumbnail1.StateChange += new exontrol.EXTHUMBNAILLib.exg2antt.StateChangeEventHandler(this.exthumbnail1_StateChange); exthumbnail1.BeginUpdate(); exthumbnail1.AutoUpdate = true; exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.EndUpdate(); |
96 |
How can I programmatically selects a file
// StateChange event - Fired while the control's state has been changed. private void exthumbnail1_StateChange(object sender,exontrol.EXTHUMBNAILLib.StateChangeEnum State) { System.Diagnostics.Debug.Print( State.ToString() ); } //this.exthumbnail1.StateChange += new exontrol.EXTHUMBNAILLib.exg2antt.StateChangeEventHandler(this.exthumbnail1_StateChange); exthumbnail1.BeginUpdate(); exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeAny; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exThumbnailSelBorderColor,Color.FromArgb(255,0,0)); exthumbnail1.set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exThumbnailSelBorderColorHide,exthumbnail1.get_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exThumbnailSelBorderColor)); exthumbnail1.Select = "Access2007"; exthumbnail1.EndUpdate(); |
95 |
How can I programmatically unselect the file
// StateChange event - Fired while the control's state has been changed. private void exthumbnail1_StateChange(object sender,exontrol.EXTHUMBNAILLib.StateChangeEnum State) { System.Diagnostics.Debug.Print( State.ToString() ); } //this.exthumbnail1.StateChange += new exontrol.EXTHUMBNAILLib.exg2antt.StateChangeEventHandler(this.exthumbnail1_StateChange); exthumbnail1.BeginUpdate(); exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeAny; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exThumbnailSelBorderColor,Color.FromArgb(255,0,0)); exthumbnail1.set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exThumbnailSelBorderColorHide,exthumbnail1.get_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exThumbnailSelBorderColor)); exthumbnail1.Select = ""; exthumbnail1.EndUpdate(); |
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)
exthumbnail1.BeginUpdate(); exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeAny; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.set_Background32(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exThumbnailSelBorderColorHide,-1); exthumbnail1.EndUpdate(); |
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)
exthumbnail1.BeginUpdate(); exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\Brazil.png"); exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\Romania.png"); exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\USA.png"); exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\Venezuela.png"); exthumbnail1.Caption = "`<sha ;;0><fgcolor=808080>` + upper(fname replace `.` + fext with ``)"; exthumbnail1.SingleCaption = ""; exthumbnail1.FilterBarPromptPattern = "USA"; exthumbnail1.EndUpdate(); |
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
exthumbnail1.BeginUpdate(); exthumbnail1.ThumbnailType = exontrol.EXTHUMBNAILLib.ThumbnailTypeEnum.exThumbnailAvail; exthumbnail1.ExtractMethod = "ThumbnailCache,ThumbnailProvider,ExtractImage"; exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.EndUpdate(); |
85 |
How can I turn on the auto-update, so the thumbnails updates automatically once the user changes the files
|
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
|
83 |
Is it possible to displays the file's context menu
|
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 void exthumbnail1_Click(object sender) { System.Diagnostics.Debug.Print( "Results:" ); System.Diagnostics.Debug.Print( exthumbnail1.FormatABC("fvcount",null,null,null,null).ToString() ); System.Diagnostics.Debug.Print( "Total:" ); System.Diagnostics.Debug.Print( exthumbnail1.FormatABC("fcount",null,null,null,null).ToString() ); } //this.exthumbnail1.Click += new exontrol.EXTHUMBNAILLib.exg2antt.ClickEventHandler(this.exthumbnail1_Click); exthumbnail1.BeginUpdate(); exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.FilterBarPromptPattern = "el"; exthumbnail1.StatusCaption = "(fvcount = fcount) ? `` : ( `<fgcolor=808080>` + ( fvcount ? ( fvcount format `0` ) + ` result(s).` : `No results.` ) )"; exthumbnail1.EndUpdate(); |
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
exthumbnail1.BeginUpdate(); exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.Mode = exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailKeepAspectRatio | exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailAutoFitOnDblClk | exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailCenter | exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailStretch | exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailAutoFit; exthumbnail1.EndUpdate(); |
75 |
How can I display the name on a line, and the size on the other line
exthumbnail1.BeginUpdate(); exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.Padding = "0 0 0 36"; exthumbnail1.Margins = "4 0"; exthumbnail1.Sort = exontrol.EXTHUMBNAILLib.ThumbnailSortEnum.exThumbailSortBySize; exthumbnail1.WordWrap = true; exthumbnail1.Caption = "ffolder ? ( lower(fname) + ( len( 0:=fsizeF ) ? `<br><c>` + =:0 : `` ) ) : ffile"; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.EndUpdate(); |
74 |
Can I display the name of the thumbnails without the extension
|
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 void exthumbnail1_DblClick(object sender,short Shift,int X,int Y) { System.Diagnostics.Debug.Print( exthumbnail1.get_ThumbnailFromPoint(-1,-1).ToString() ); } //this.exthumbnail1.DblClick += new exontrol.EXTHUMBNAILLib.exg2antt.DblClickEventHandler(this.exthumbnail1_DblClick); exthumbnail1.BeginUpdate(); exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.Mode = exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailKeepAspectRatio | exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailAllowResize | exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailCenter | exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailStretch | exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailAutoFit; exthumbnail1.EndUpdate(); |
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
exthumbnail1.BeginUpdate(); exthumbnail1.set_ScrollPartVisible(exontrol.EXTHUMBNAILLib.ScrollBarEnum.exVScroll,exontrol.EXTHUMBNAILLib.ScrollPartEnum.exExtentThumbPart,true); exthumbnail1.set_ScrollPartVisible(exontrol.EXTHUMBNAILLib.ScrollBarEnum.exHScroll,exontrol.EXTHUMBNAILLib.ScrollPartEnum.exExtentThumbPart,true); exthumbnail1.set_ScrollPartVisible((exontrol.EXTHUMBNAILLib.ScrollBarEnum)0x2,exontrol.EXTHUMBNAILLib.ScrollPartEnum.exExtentThumbPart,true); exthumbnail1.ScrollWidth = 4; exthumbnail1.set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exVSBack,Color.FromArgb(240,240,240)); exthumbnail1.set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exVSThumb,Color.FromArgb(128,128,128)); exthumbnail1.ScrollHeight = 4; exthumbnail1.set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exHSBack,exthumbnail1.get_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exVSBack)); exthumbnail1.set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exHSThumb,exthumbnail1.get_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exVSThumb)); exthumbnail1.set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exScrollSizeGrip,exthumbnail1.get_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exVSBack)); exthumbnail1.Mode = exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailKeepAspectRatio | exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailAutoFitOnDblClk | exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailAllowResize | exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailCenter | exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailStretch; exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.EndUpdate(); |
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
|
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 void exthumbnail1_Click(object sender) { exthumbnail1.FilterBarPromptPattern = ""; } //this.exthumbnail1.Click += new exontrol.EXTHUMBNAILLib.exg2antt.ClickEventHandler(this.exthumbnail1_Click); exthumbnail1.BeginUpdate(); exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.FilterBarPromptPattern = "jpg"; exthumbnail1.EndUpdate(); |
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
exthumbnail1.BeginUpdate(); exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.FilterBarFor = "fname"; exthumbnail1.FilterBarPromptPattern = "jpg"; exthumbnail1.EndUpdate(); |
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
exthumbnail1.BeginUpdate(); exthumbnail1.FilterBarBackColor = Color.FromArgb(0,0,0); exthumbnail1.FilterBarForeColor = Color.FromArgb(255,255,255); exthumbnail1.FilterBarPrompt = "<i>Start Filter...</i>"; exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.EndUpdate(); |
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
exthumbnail1.BeginUpdate(); exthumbnail1.set_Background32(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exFooterFilterBarButton,-1); exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.EndUpdate(); |
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
exthumbnail1.BeginUpdate(); exthumbnail1.set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exThumbnailBackColorAlt,Color.FromArgb(240,240,240)); exthumbnail1.set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exThumbnailForeColorAlt,Color.FromArgb(128,128,128)); exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.EndUpdate(); |
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
|
49 |
How can I display the thumbnail's caption on the right rather than bottom
exthumbnail1.BeginUpdate(); exthumbnail1.Margins = "0 16"; exthumbnail1.Padding = "0 0 16 0"; exthumbnail1.Borders = "16 16 16 16"; exthumbnail1.CaptionRotate = exontrol.EXTHUMBNAILLib.HTMLRotateEnum.exHTMLMirror | exontrol.EXTHUMBNAILLib.HTMLRotateEnum.exHTMLVertical; exthumbnail1.set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exThumbnailBorderColor,Color.FromArgb(1,0,0)); exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.WordWrap = false; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.EndUpdate(); |
48 |
How can I display the thumbnail's caption on the left rather than bottom
exthumbnail1.BeginUpdate(); exthumbnail1.Margins = "0 16"; exthumbnail1.Padding = "16 0 0 0"; exthumbnail1.Borders = "16 16 16 16"; exthumbnail1.CaptionRotate = exontrol.EXTHUMBNAILLib.HTMLRotateEnum.exHTMLVertical; exthumbnail1.set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exThumbnailBorderColor,Color.FromArgb(1,0,0)); exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.WordWrap = false; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.EndUpdate(); |
47 |
How can I display the thumbnail's caption on the top rather than bottom
exthumbnail1.BeginUpdate(); exthumbnail1.Margins = "16 0"; exthumbnail1.Padding = "0 16 0 0"; exthumbnail1.Borders = "16 16 16 16"; exthumbnail1.set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exThumbnailBorderColor,Color.FromArgb(1,0,0)); exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.WordWrap = false; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.EndUpdate(); |
46 |
How do I enable the scrollbar-extension, as thumb to be shown outside of the control's client area
exthumbnail1.BeginUpdate(); exthumbnail1.set_ScrollPartVisible(exontrol.EXTHUMBNAILLib.ScrollBarEnum.exVScroll,exontrol.EXTHUMBNAILLib.ScrollPartEnum.exExtentThumbPart,true); exthumbnail1.set_ScrollPartVisible(exontrol.EXTHUMBNAILLib.ScrollBarEnum.exHScroll,exontrol.EXTHUMBNAILLib.ScrollPartEnum.exExtentThumbPart,true); exthumbnail1.set_ScrollPartVisible((exontrol.EXTHUMBNAILLib.ScrollBarEnum)0x2,exontrol.EXTHUMBNAILLib.ScrollPartEnum.exExtentThumbPart,true); exthumbnail1.ScrollWidth = 4; exthumbnail1.set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exVSBack,Color.FromArgb(240,240,240)); exthumbnail1.set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exVSThumb,Color.FromArgb(128,128,128)); exthumbnail1.ScrollHeight = 4; exthumbnail1.set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exHSBack,exthumbnail1.get_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exVSBack)); exthumbnail1.set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exHSThumb,exthumbnail1.get_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exVSThumb)); exthumbnail1.set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exScrollSizeGrip,exthumbnail1.get_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exVSBack)); exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.EndUpdate(); |
45 |
How can I prevent showing the control's scroll bars
exthumbnail1.BeginUpdate(); exthumbnail1.AutoDrag = exontrol.EXTHUMBNAILLib.AutoDragEnum.exAutoDragNone; exthumbnail1.ScrollWidth = 0; exthumbnail1.ScrollHeight = 0; exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.EndUpdate(); |
44 |
How can I modify the margins of the thumbnail
exthumbnail1.BeginUpdate(); exthumbnail1.Margins = "16 0"; exthumbnail1.Padding = "0 16 0 0"; exthumbnail1.Borders = "16 16 16 16"; exthumbnail1.WordWrap = false; exthumbnail1.set_Background(exontrol.EXTHUMBNAILLib.BackgroundPartEnum.exThumbnailBorderColor,Color.FromArgb(1,0,0)); exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.EndUpdate(); |
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
exthumbnail1.BeginUpdate(); exthumbnail1.Margins = "16 16"; exthumbnail1.ThumbnailMinWidth = 64; exthumbnail1.ThumbnailMinHeight = 64; exthumbnail1.ThumbnailMaxWidth = 64; exthumbnail1.ThumbnailMaxHeight = 64; exthumbnail1.Mode = exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailKeepAspectRatio | exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailAutoFitOnDblClk | exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailAllowResize | exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailCenter | exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailStretch; exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.Caption = "fname"; exthumbnail1.EndUpdate(); |
40 |
I've seen that that the thumbnail can be resized up to 120 points, can I change that
exthumbnail1.BeginUpdate(); exthumbnail1.Margins = "8 8"; exthumbnail1.Padding = "0 0 0 8"; exthumbnail1.ThumbnailMinWidth = 32; exthumbnail1.ThumbnailMinHeight = 32; exthumbnail1.Mode = exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailKeepAspectRatio | exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailAutoFitOnDblClk | exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailAllowResize | exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailCenter | exontrol.EXTHUMBNAILLib.ThumbnailModeEnum.exThumbnailStretch; exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.WordWrap = false; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.Caption = "`<font ;4>` + fname replace `.` + fext with ``"; exthumbnail1.EndUpdate(); |
39 |
How can I change the thumbnail's mode to stack
|
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 void exthumbnail1_MouseMoveEvent(object sender,short Button,short Shift,int X,int Y) { System.Diagnostics.Debug.Print( exthumbnail1.get_ThumbnailFromPoint(-1,-1).ToString() ); } //this.exthumbnail1.MouseMoveEvent += new exontrol.EXTHUMBNAILLib.exg2antt.MouseMoveEventHandler(this.exthumbnail1_MouseMoveEvent); exthumbnail1.BeginUpdate(); exthumbnail1.AcceptFolders = exontrol.EXTHUMBNAILLib.AcceptFoldersEnum.exIncludeSubFilesOnly; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample"); exthumbnail1.EndUpdate(); |
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
exthumbnail1.BeginUpdate(); exthumbnail1.Padding = ""; exthumbnail1.Alignment = exontrol.EXTHUMBNAILLib.TextAlignEnum.exAlignBottomCenter; exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\EndangeredAnimals.png"); exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\logocanary.png"); exthumbnail1.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"; exthumbnail1.SingleCaption = exthumbnail1.Caption; exthumbnail1.EndUpdate(); |
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)
exthumbnail1.BeginUpdate(); exthumbnail1.InputFile = "C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\elogo.jpg"; exthumbnail1.EndUpdate(); System.Diagnostics.Debug.Print( "Width: " ); System.Diagnostics.Debug.Print( exthumbnail1.ThumbnailWidth.ToString() ); System.Diagnostics.Debug.Print( "Height: " ); System.Diagnostics.Debug.Print( exthumbnail1.ThumbnailHeight.ToString() ); |
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
|