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

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AcceptFolders(2/*exIncludeAny*/);
	exthumbnail1.Mode(32768/*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

public void init()
{
	str var_s,var_s1;
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	var_s = "ffolder ? ( fname + ( len( 22:=(int(0:=(1:=fsize)/1024/1024/1024) ? round(=:0*10)/10 + ` GB` : (int(0:==:1/1024/1024) ? round(=:";
	var_s = var_s + "0*10)/10 + ` MB` : (int(0:==:1/1024) ? round(=:0*10)/10 + ` KB` : =:1 + ` B`))) ) ? `, ` + =:22 : `` ) ) : ffile";
	exthumbnail1.Caption(var_s);
	var_s1 = "ffolder ? ( `Name: <b>` + fname + `</b>` + `<br>` + ( len( 0:= ftype ) ? `Type: <b>` + =:0 + `</b>` + `<br>` : `` ) + ( ffolder ";
	var_s1 = var_s1 + "= 1 ? `Size: <b>` + (int(0:=(1:=fsize)/1024/1024/1024) ? round(=:0*10)/10 + ` GB` : (int(0:==:1/1024/1024) ? round(=:0*10)/10 + ";
	var_s1 = var_s1 + "` MB` : (int(0:==:1/1024) ? round(=:0*10)/10 + ` KB` : =:1 + ` B`))) + `</b>` + `<br>` : `` ) + `Created: <b>` + fcreated_local ";
	var_s1 = var_s1 + "+ `</b>` + `<br>` + `Modified: <b>` + fmodified_local + `</b>`+ `<br>` + `Last Opened: <b>` + fopened_local + `</b>`+ (fpicture ";
	var_s1 = var_s1 + "? (`<br>Dimensions: <b>` + fwidth + ` x ` + fheight + `</b>` ) : ``) ) : ffile";
	exthumbnail1.ToolTipText(var_s1);
	exthumbnail1.EndUpdate();
}
123
It appears that Created, Modified and Last Opened values are not correct (local)
public void init()
{
	str var_s;
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.Padding("");
	exthumbnail1.Alignment(33/*exAlignBottomCenter*/);
	exthumbnail1.InputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\elogo.jpg");
	var_s = "`Created: <b><r>` + fcreated_local + `</b>` + `<br>` + `Modified: <b><r>` + fmodified_local + `</b>`+ `<br>` + `Last Opened: <r>";
	var_s = var_s + "<b>` + fopened_local + `</b>`";
	exthumbnail1.Caption(var_s);
	exthumbnail1.SingleCaption(exthumbnail1.Caption());
	exthumbnail1.EndUpdate();
}
122
It appears that Created, Modified and Last Opened values are not correct (bias)
public void init()
{
	str var_s;
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.Padding("");
	exthumbnail1.Alignment(33/*exAlignBottomCenter*/);
	exthumbnail1.InputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\elogo.jpg");
	var_s = "`Created: <b><r>` + date(fcreated - bias/24/60) + `</b>` + `<br>` + `Modified: <b><r>` + date(fmodified - bias/24/60) + `</b>`+ ";
	var_s = var_s + "`<br>` + `Last Opened: <r><b>` + date(fopened - bias/24/60) + `</b>`";
	exthumbnail1.Caption(var_s);
	exthumbnail1.SingleCaption(exthumbnail1.Caption());
	exthumbnail1.EndUpdate();
}
121
How can I sort the thumbnails, case insensitive

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.Sort(514/*exThumbailSortInsensitive | exThumbailSortByName*/);
	exthumbnail1.EndUpdate();
}
120
How can I select programatically multiple files
// StateChange event - Fired while the control's state has been changed.
void onEvent_StateChange(int   _State)
{
	;
	print( _State );
	print( exthumbnail1.Select() );
}

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AutoUpdate(true);
	exthumbnail1.AcceptFolders(-1/*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.
void onEvent_StateChange(int   _State)
{
	;
	print( _State );
	print( exthumbnail1.Select() );
}

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AutoUpdate(true);
	exthumbnail1.AcceptFolders(-1/*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

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AcceptFolders(2/*exIncludeAny*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.Background(179/*exThumbnailSelBorderColorHide*/,WinApi::RGB2int(0,0,1));
	exthumbnail1.Select("Access2007");
	exthumbnail1.EndUpdate();
}
117
Predefined Keywords of ShowContextMenu property

// StateChange event - Fired while the control's state has been changed.
void onEvent_StateChange(int   _State)
{
	;
	exthumbnail1.ExecuteContextMenu(0);
}

public void init()
{
	str var_s;
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AutoUpdate(true);
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	var_s = "`menu(` + menu + `)` + `,filecount=` + filecount + `,fileattr=` + hex(fileattr) + `,filename=` + filename + `,fileparsename=` + ";
	var_s = var_s + "fileparsename + `,filefullname=` + filefullname";
	exthumbnail1.ShowContextMenu(var_s);
	exthumbnail1.EndUpdate();
}
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.
void onEvent_StateChange(int   _State)
{
	;
	print( "State" );
	print( _State );
	print( "ExecuteContextMenu" );
	print( exthumbnail1.ExecuteContextMenu() );
}

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AutoUpdate(true);
	exthumbnail1.AcceptFolders(-1/*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)

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AutoUpdate(true);
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.Select("Brazil.png");
	exthumbnail1.ExecuteContextCommand("<selection>",true,"Copy As Path");
	exthumbnail1.EndUpdate();
}
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.
void onEvent_StateChange(int   _State)
{
	;
	print( "State " );
	print( _State );
	print( "ContextMenu" );
	print( exthumbnail1.ShowContextMenu() );
	exthumbnail1.ShowContextMenu(exthumbnail1.FormatABC("B = 20 ? (`[debug]`+ value) : value ",COMVariant::createFromStr(exthumbnail1.ShowContextMenu()),_State));
}

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AutoUpdate(true);
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.EndUpdate();
}
113
How can I copy/execute command a file/folder (selection)
public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AutoUpdate(true);
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.Select("Brazil.png");
	exthumbnail1.ExecuteContextCommand("<selection>",true,"Copy");
	exthumbnail1.EndUpdate();
}
112
How can I copy a file/folder (absolute name)
public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AutoUpdate(true);
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.ExecuteContextCommand("c:\\Temp",true,"Copy");
	exthumbnail1.EndUpdate();
}
111
How can I copy a file/folder (relative name)
public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AutoUpdate(true);
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.ExecuteContextCommand("Belgium.png",true,"Copy");
	exthumbnail1.EndUpdate();
}
110
ShowContextMenu usage

// StateChange event - Fired while the control's state has been changed.
void onEvent_StateChange(int   _State)
{
	;
	print( "State" );
	print( _State );
	print( "ExecuteContextMenu" );
	print( exthumbnail1.ExecuteContextMenu() );
}

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AutoUpdate(true);
	exthumbnail1.AcceptFolders(-1/*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.
void onEvent_StateChange(int   _State)
{
	;
	print( "State" );
	print( _State );
	print( "ExecuteContextMenu" );
	print( exthumbnail1.ExecuteContextMenu() );
}

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AutoUpdate(true);
	exthumbnail1.AcceptFolders(-1/*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.
void onEvent_StateChange(int   _State)
{
	;
	print( "State" );
	print( _State );
	print( "ExecuteContextMenu" );
	print( exthumbnail1.ExecuteContextMenu() );
}

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AutoUpdate(true);
	exthumbnail1.AcceptFolders(-1/*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.
void onEvent_StateChange(int   _State)
{
	;
	print( "State" );
	print( _State );
	print( "ExecuteContextMenu" );
	print( exthumbnail1.ExecuteContextMenu() );
}

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AutoUpdate(true);
	exthumbnail1.AcceptFolders(-1/*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.
void onEvent_StateChange(int   _State)
{
	;
	print( "State" );
	print( _State );
	print( "ExecuteContextMenu" );
	print( exthumbnail1.ExecuteContextMenu() );
}

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AutoUpdate(true);
	exthumbnail1.AcceptFolders(-1/*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.
void onEvent_StateChange(int   _State)
{
	;
	print( "State" );
	print( _State );
	print( "ExecuteContextMenu" );
	print( exthumbnail1.ExecuteContextMenu() );
}

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AutoUpdate(true);
	exthumbnail1.AcceptFolders(-1/*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.
void onEvent_StateChange(int   _State)
{
	;
	print( "State" );
	print( _State );
	print( "ExecuteContextMenu" );
	print( exthumbnail1.ExecuteContextMenu() );
}

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AutoUpdate(true);
	exthumbnail1.AcceptFolders(-1/*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.
void onEvent_StateChange(int   _State)
{
	;
	print( "State" );
	print( _State );
	print( "ExecuteContextMenu" );
	print( exthumbnail1.ExecuteContextMenu() );
	print( "no context menu is generated, so nothing is displayed" );
}

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AutoUpdate(true);
	exthumbnail1.AcceptFolders(-1/*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.
void onEvent_StateChange(int   _State)
{
	;
	print( "State " );
	print( _State );
	print( "ContextMenu" );
	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",COMVariant::createFromStr(exthumbnail1.ShowContextMenu()),_State));
	print( "Execute" );
	print( exthumbnail1.ExecuteContextMenu() );
}

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AutoUpdate(true);
	exthumbnail1.AcceptFolders(-1/*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.
void onEvent_StateChange(int   _State)
{
	;
	print( "State " );
	print( _State );
	print( "ContextMenu" );
	print( exthumbnail1.ShowContextMenu() );
}

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AutoUpdate(true);
	exthumbnail1.AcceptFolders(-1/*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.
void onEvent_StateChange(int   _State)
{
	;
	print( "State " );
	print( _State );
	print( "ContextMenu" );
	print( exthumbnail1.ShowContextMenu() );
}

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AutoUpdate(true);
	exthumbnail1.AcceptFolders(-1/*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.
void onEvent_StateChange(int   _State)
{
	;
	print( "State " );
	print( _State );
	print( "ContextMenu" );
	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])");
	print( "ExecuteContextMenu" );
	print( exthumbnail1.ExecuteContextMenu() );
}

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AutoUpdate(true);
	exthumbnail1.AcceptFolders(-1/*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.
void onEvent_StateChange(int   _State)
{
	;
	print( "State " );
	print( _State );
	print( "ContextMenu" );
	print( exthumbnail1.ShowContextMenu() );
	print( "ExecuteContextMenu" );
	print( exthumbnail1.ExecuteContextMenu() );
	exthumbnail1.ExecuteContextMenu(0);
}

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AutoUpdate(true);
	exthumbnail1.AcceptFolders(-1/*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.
void onEvent_StateChange(int   _State)
{
	;
	print( "State " );
	print( _State );
	print( "ContextMenu" );
	print( exthumbnail1.ShowContextMenu() );
	exthumbnail1.ShowContextMenu(exthumbnail1.FormatABC("value replace `&Delete` with `&Delete[dis]`",COMVariant::createFromStr(exthumbnail1.ShowContextMenu())));
}

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AutoUpdate(true);
	exthumbnail1.AcceptFolders(-1/*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.
void onEvent_StateChange(int   _State)
{
	;
	print( _State );
}

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AcceptFolders(2/*exIncludeAny*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.Background(178/*exThumbnailSelBorderColor*/,WinApi::RGB2int(255,0,0));
	exthumbnail1.Background(179/*exThumbnailSelBorderColorHide*/,exthumbnail1.Background(178/*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.
void onEvent_StateChange(int   _State)
{
	;
	print( _State );
}

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AcceptFolders(2/*exIncludeAny*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.Background(178/*exThumbnailSelBorderColor*/,WinApi::RGB2int(255,0,0));
	exthumbnail1.Background(179/*exThumbnailSelBorderColorHide*/,exthumbnail1.Background(178/*exThumbnailSelBorderColor*/));
	exthumbnail1.Select("");
	exthumbnail1.EndUpdate();
}
94
How can I change the color to show the selected frame

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AcceptFolders(2/*exIncludeAny*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.Background(178/*exThumbnailSelBorderColor*/,WinApi::RGB2int(255,0,0));
	exthumbnail1.EndUpdate();
}
93
How can I remove the frame being selected when the control loses the focus (hidesel)
public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AcceptFolders(2/*exIncludeAny*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.Background(179/*exThumbnailSelBorderColorHide*/,-1);
	exthumbnail1.EndUpdate();
}
92
When I drop a folder, can I include all its content, files and sub-folders

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AcceptFolders(2/*exIncludeAny*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.EndUpdate();
}
91
When I drop a folder, can I include sub-folders only

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AcceptFolders(1/*exIncludeSubFoldersOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.EndUpdate();
}
90
I've noticed that if I drop a single file I get a different caption. How can I change that (sample 2)

public void init()
{
	;

	super();

	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)

public void init()
{
	;

	super();

	exthumbnail1.InputFile("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\elogo.jpg");
	exthumbnail1.SingleCaption(exthumbnail1.Caption());
}
88
Can I somehow show the close button of the control's filter bar to the right, only if required

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.FilterBarVisible(1537/*exFilterBarShowCloseOnRight | exFilterBarShowCloseIfRequired | exFilterBarVisible*/);
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.FilterBarBackColor(WinApi::RGB2int(0,0,0));
	exthumbnail1.FilterBarForeColor(WinApi::RGB2int(255,255,255));
	exthumbnail1.FilterBarPromptPattern("elogo");
	exthumbnail1.EndUpdate();
}
87
I have a filter being applied, the question is how can I display the number/count of results (sample 3)

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.FilterBarPromptPattern("el");
	exthumbnail1.StatusCaption("(len(ffilter) = 0) ? `` : ( `<fgcolor=808080>` + ( fvcount ? ( fvcount format `0` ) + ` result(s).` : `No results.` ) )");
	exthumbnail1.EndUpdate();
}
86
Just icons are shown when droping the file into the control. What can I check

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.ThumbnailType(255/*exThumbnailAvail*/);
	exthumbnail1.ExtractMethod("ThumbnailCache,ThumbnailProvider,ExtractImage");
	exthumbnail1.AcceptFolders(-1/*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
public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AutoUpdate(true);
	exthumbnail1.AllowContextMenu(true);
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.StatusCaption("<c><font ;10><sha ;;0>Open the Windows Explorer, and delete or edit any of these files.");
	exthumbnail1.EndUpdate();
}
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
public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AutoUpdate(true);
	exthumbnail1.AllowContextMenu(true);
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.StatusCaption("<c><font ;10><sha ;;0>Open the Windows Explorer, and delete or edit any of these files.");
	exthumbnail1.EndUpdate();
}
83
Is it possible to displays the file's context menu

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AllowContextMenu(true);
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.EndUpdate();
}
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.
void onEvent_Click()
{
	;
	print( "Results:" );
	print( exthumbnail1.FormatABC("fvcount") );
	print( "Total:" );
	print( exthumbnail1.FormatABC("fcount") );
}

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AcceptFolders(-1/*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)

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AcceptFolders(-1/*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();
}
80
I have a filter being applied, the question is how can I display the number of results (sample 1)

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.FilterBarPromptPattern("e");
	exthumbnail1.StatusCaption("not (fcount = fvcount ) ? (`<r><font ;6><fgcolor=808080><sha ;;0>Found: <b>` + (len(fvcount) ? fvcount format `0` : 0)) : ``");
	exthumbnail1.EndUpdate();
}
79
Is it possible to display the number of files that are currently in the list

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.StatusCaption("`<r><font ;6><fgcolor=808080><sha ;;0>Count: <b>` + (len(fvcount) ? fvcount : 0)");
	exthumbnail1.EndUpdate();
}
78
How can I specify the number of files to be displayed

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.LimitInputFiles(4);
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.EndUpdate();
}
77
Is it possible to limit the number of files to be shown to one

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.LimitInputFiles(1);
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.EndUpdate();
}
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
public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.Mode(26368/*exThumbnailKeepAspectRatio | exThumbnailAutoFitOnDblClk | exThumbnailCenter | exThumbnailStretch | exThumbnailAutoFit*/);
	exthumbnail1.EndUpdate();
}
75
How can I display the name on a line, and the size on the other line

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.Padding("0 0 0 36");
	exthumbnail1.Margins("4 0");
	exthumbnail1.Sort(4/*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

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.Background(177/*exThumbnailBorderColor*/,WinApi::RGB2int(1,0,0));
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.WordWrap(false);
	exthumbnail1.Caption("ffolder ? ( lower(fname replace `.` + fext with ``) + ( len( 0:=fsizeF ) ? `, ` + =:0 : `` ) ) : ffile");
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.EndUpdate();
}
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.
void onEvent_DblClick(int   _Shift,int   _X,int   _Y)
{
	;
	print( exthumbnail1.ThumbnailFromPoint(-1,-1) );
}

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.Mode(22272/*exThumbnailKeepAspectRatio | exThumbnailAllowResize | exThumbnailCenter | exThumbnailStretch | exThumbnailAutoFit*/);
	exthumbnail1.EndUpdate();
}
72
How can I hide/prevent showing the control's filter

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.FilterBarVisible(0/*exFilterBarHidden*/);
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.EndUpdate();
}
71
The thumbnails get resized as soon as I change the filter. Can I make it fixed

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.ScrollPartVisible(0/*exVScroll*/,65536/*exExtentThumbPart*/,true);
	exthumbnail1.ScrollPartVisible(1/*exHScroll*/,65536/*exExtentThumbPart*/,true);
	exthumbnail1.ScrollPartVisible(2,65536/*exExtentThumbPart*/,true);
	exthumbnail1.ScrollWidth(4);
	exthumbnail1.Background(276/*exVSBack*/,WinApi::RGB2int(240,240,240));
	exthumbnail1.Background(260/*exVSThumb*/,WinApi::RGB2int(128,128,128));
	exthumbnail1.ScrollHeight(4);
	exthumbnail1.Background(404/*exHSBack*/,exthumbnail1.Background(276/*exVSBack*/));
	exthumbnail1.Background(388/*exHSThumb*/,exthumbnail1.Background(260/*exVSThumb*/));
	exthumbnail1.Background(511/*exScrollSizeGrip*/,exthumbnail1.Background(276/*exVSBack*/));
	exthumbnail1.Mode(30208/*exThumbnailKeepAspectRatio | exThumbnailAutoFitOnDblClk | exThumbnailAllowResize | exThumbnailCenter | exThumbnailStretch*/);
	exthumbnail1.AcceptFolders(-1/*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

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.Caption("lower(ffolder ? ( fname : ffile)) + ( len( 0:=fsizeF ) ? `, <fgcolor=A0A0A0>` + =:0 + `</fgcolor>` : `` )");
	exthumbnail1.EndUpdate();
}
69
Is it possible to display the names in upper-case

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.Caption("upper(ffolder ? ( fname + ( len( 0:=fsizeF ) ? `, ` + =:0 : `` ) ) : ffile)");
	exthumbnail1.EndUpdate();
}
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.
void onEvent_Click()
{
	;
	exthumbnail1.FilterBarPromptPattern("jpg");
}

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.EndUpdate();
}
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.
void onEvent_Click()
{
	;
	exthumbnail1.FilterBarPromptPattern("");
}

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AcceptFolders(-1/*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

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.FilterBarBackColor(WinApi::RGB2int(0,0,0));
	exthumbnail1.FilterBarForeColor(WinApi::RGB2int(255,255,255));
	exthumbnail1.FilterBarPrompt("<i><b>Click here to start filter for...</b></i>");
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.EndUpdate();
}
65
How can I define what to filter for. For instance, just the name, extension. Is it possible

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AcceptFolders(-1/*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

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.FilterBarPromptType(257/*exFilterPromptCaseSensitive | exFilterPromptContainsAll*/);
	exthumbnail1.FilterBarPromptPattern("el");
	exthumbnail1.EndUpdate();
}
63
Can I filter the thumbnails that starts with instead contains typed characters

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.FilterBarPromptType(3/*exFilterPromptStartWith*/);
	exthumbnail1.FilterBarPromptPattern("el");
	exthumbnail1.EndUpdate();
}
62
Can I use wild characters in the filter

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.FilterBarPromptType(16/*exFilterPromptPattern*/);
	exthumbnail1.FilterBarFor("fname");
	exthumbnail1.FilterBarPromptPattern("*.jpg");
	exthumbnail1.EndUpdate();
}
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

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.FilterBarPromptType(2/*exFilterPromptContainsAny*/);
	exthumbnail1.FilterBarPromptPattern("elogo or something that you won't find");
	exthumbnail1.EndUpdate();
}
60
How can I change the filter's bar foreground/background color

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.FilterBarBackColor(WinApi::RGB2int(0,0,0));
	exthumbnail1.FilterBarForeColor(WinApi::RGB2int(255,255,255));
	exthumbnail1.FilterBarPrompt("<i>Start Filter...</i>");
	exthumbnail1.AcceptFolders(-1/*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

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.FilterBarVisible(1025/*exFilterBarShowCloseOnRight | exFilterBarVisible*/);
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.EndUpdate();
}
58
Is it possible to change the color to show the close button of the control's filter bar

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.Background(1/*exFooterFilterBarButton*/,WinApi::RGB2int(0,255,0));
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.EndUpdate();
}
57
How can I prevent showing the close button, in the control's filter bar

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.Background(1/*exFooterFilterBarButton*/,-1);
	exthumbnail1.AcceptFolders(-1/*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

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.FilterBarVisible(513/*exFilterBarShowCloseIfRequired | exFilterBarVisible*/);
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.EndUpdate();
}
55
How can I close/hide the filter once the user clicks the close button
public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.FilterBarVisible(257/*exFilterBarToggle | exFilterBarVisible*/);
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.EndUpdate();
}
54
How can I disable the control's filter bar

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.FilterBarVisible(0/*exFilterBarHidden*/);
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.EndUpdate();
}
53
How can I enable the control's filter bar

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.FilterBarVisible(1/*exFilterBarVisible*/);
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.EndUpdate();
}
52
How can I enable alternate background/foreground colors

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.Background(175/*exThumbnailBackColorAlt*/,WinApi::RGB2int(240,240,240));
	exthumbnail1.Background(176/*exThumbnailForeColorAlt*/,WinApi::RGB2int(128,128,128));
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.EndUpdate();
}
51
How can I remove all margins, so I have a compact view

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.Margins("0 0");
	exthumbnail1.Padding("0 0 0 0");
	exthumbnail1.Borders("0 0 0 0");
	exthumbnail1.Background(177/*exThumbnailBorderColor*/,WinApi::RGB2int(1,0,0));
	exthumbnail1.Alignment(33/*exAlignBottomCenter*/);
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.EndUpdate();
}
50
The thumbnail's caption gets wrapped, the question is can I disable that

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.Margins("16 16");
	exthumbnail1.ThumbnailMinWidth(32);
	exthumbnail1.ThumbnailMinHeight(32);
	exthumbnail1.Mode(30208/*exThumbnailKeepAspectRatio | exThumbnailAutoFitOnDblClk | exThumbnailAllowResize | exThumbnailCenter | exThumbnailStretch*/);
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.WordWrap(false);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.EndUpdate();
}
49
How can I display the thumbnail's caption on the right rather than bottom

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.Margins("0 16");
	exthumbnail1.Padding("0 0 16 0");
	exthumbnail1.Borders("16 16 16 16");
	exthumbnail1.CaptionRotate(17/*exHTMLMirror | exHTMLVertical*/);
	exthumbnail1.Background(177/*exThumbnailBorderColor*/,WinApi::RGB2int(1,0,0));
	exthumbnail1.AcceptFolders(-1/*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

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.Margins("0 16");
	exthumbnail1.Padding("16 0 0 0");
	exthumbnail1.Borders("16 16 16 16");
	exthumbnail1.CaptionRotate(1/*exHTMLVertical*/);
	exthumbnail1.Background(177/*exThumbnailBorderColor*/,WinApi::RGB2int(1,0,0));
	exthumbnail1.AcceptFolders(-1/*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

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.Margins("16 0");
	exthumbnail1.Padding("0 16 0 0");
	exthumbnail1.Borders("16 16 16 16");
	exthumbnail1.Background(177/*exThumbnailBorderColor*/,WinApi::RGB2int(1,0,0));
	exthumbnail1.AcceptFolders(-1/*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

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.ScrollPartVisible(0/*exVScroll*/,65536/*exExtentThumbPart*/,true);
	exthumbnail1.ScrollPartVisible(1/*exHScroll*/,65536/*exExtentThumbPart*/,true);
	exthumbnail1.ScrollPartVisible(2,65536/*exExtentThumbPart*/,true);
	exthumbnail1.ScrollWidth(4);
	exthumbnail1.Background(276/*exVSBack*/,WinApi::RGB2int(240,240,240));
	exthumbnail1.Background(260/*exVSThumb*/,WinApi::RGB2int(128,128,128));
	exthumbnail1.ScrollHeight(4);
	exthumbnail1.Background(404/*exHSBack*/,exthumbnail1.Background(276/*exVSBack*/));
	exthumbnail1.Background(388/*exHSThumb*/,exthumbnail1.Background(260/*exVSThumb*/));
	exthumbnail1.Background(511/*exScrollSizeGrip*/,exthumbnail1.Background(276/*exVSBack*/));
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.EndUpdate();
}
45
How can I prevent showing the control's scroll bars
public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AutoDrag(0/*exAutoDragNone*/);
	exthumbnail1.ScrollWidth(0);
	exthumbnail1.ScrollHeight(0);
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.EndUpdate();
}
44
How can I modify the margins of the thumbnail

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.Margins("16 0");
	exthumbnail1.Padding("0 16 0 0");
	exthumbnail1.Borders("16 16 16 16");
	exthumbnail1.WordWrap(false);
	exthumbnail1.Background(177/*exThumbnailBorderColor*/,WinApi::RGB2int(1,0,0));
	exthumbnail1.AcceptFolders(-1/*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
public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AutoDrag(0/*exAutoDragNone*/);
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.EndUpdate();
}
42
The thumbnail get maximized as soon as the user double clicks it. May I prevent that
public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.Mode(22272/*exThumbnailKeepAspectRatio | exThumbnailAllowResize | exThumbnailCenter | exThumbnailStretch | exThumbnailAutoFit*/);
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.EndUpdate();
}
41
Can I limit the thumbnail size when the user resizes it

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.Margins("16 16");
	exthumbnail1.ThumbnailMinWidth(64);
	exthumbnail1.ThumbnailMinHeight(64);
	exthumbnail1.ThumbnailMaxWidth(64);
	exthumbnail1.ThumbnailMaxHeight(64);
	exthumbnail1.Mode(30208/*exThumbnailKeepAspectRatio | exThumbnailAutoFitOnDblClk | exThumbnailAllowResize | exThumbnailCenter | exThumbnailStretch*/);
	exthumbnail1.AcceptFolders(-1/*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

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.Margins("8 8");
	exthumbnail1.Padding("0 0 0 8");
	exthumbnail1.ThumbnailMinWidth(32);
	exthumbnail1.ThumbnailMinHeight(32);
	exthumbnail1.Mode(30208/*exThumbnailKeepAspectRatio | exThumbnailAutoFitOnDblClk | exThumbnailAllowResize | exThumbnailCenter | exThumbnailStretch*/);
	exthumbnail1.AcceptFolders(-1/*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

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.VirtualMode(false);
	exthumbnail1.Margins("16 16");
	exthumbnail1.Mode(14081/*exThumbnailAutoFitOnDblClk | exThumbnailAllowResize | exThumbnailCenter | exThumbnailStretch | exThumbnailAutoFit | exThumbnailStack*/);
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.EndUpdate();
}
38
How do I sort the thumbnails

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.Sort(260/*exThumbailSortReverse | exThumbailSortBySize*/);
	exthumbnail1.EndUpdate();
}
37
How can I get thumbnailed all sub-files within the folder

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.EndUpdate();
}
36
How can I hide the thumbnail's frame
public void init()
{
	str var_s;
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.Padding("");
	exthumbnail1.Alignment(33/*exAlignBottomCenter*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\elogo.jpg");
	var_s = "ffolder ? ( `Name: <b>` + fname + `</b>` + `<br>` + ( len( 0:= ftype ) ? `Type: <b>` + =:0 + `</b>` + `<br>` : `` ) + ( ffolder ";
	var_s = var_s + "= 1 ? `Size: <b>` + fsizeF + `</b>` + `<br>` : `` ) + `Created: <b>` + date(fcreated - bias/24/60) + `</b>` + `<br>` + `Modified";
	var_s = var_s + ": <b>` + date(fmodified - bias/24/60) + `</b>`+ `<br>` + `Last Opened: <b>` + date(fopened - bias/24/60) + `</b>`+ (fpicture ? (";
	var_s = var_s + "`<br>Dimensions: <b>` + fwidth + ` x ` + fheight + `</b>` ) : ``) ) : ffile";
	exthumbnail1.Caption(var_s);
	exthumbnail1.Background(177/*exThumbnailBorderColor*/,WinApi::RGB2int(0,0,0));
	exthumbnail1.EndUpdate();
}
35
How do I get the thumbnail from the cursor
// MouseMove event - Occurs when the user moves the mouse.
void onEvent_MouseMove(int   _Button,int   _Shift,int   _X,int   _Y)
{
	;
	print( exthumbnail1.ThumbnailFromPoint(-1,-1) );
}

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AcceptFolders(-1/*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

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.ToolTipTitle("File");
	exthumbnail1.ToolTipText("ffile replace fname with (`<b>` + fname + `</b>`)");
	exthumbnail1.EndUpdate();
}
33
How can I display more information about the thumbnail

public void init()
{
	str var_s;
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.Padding("");
	exthumbnail1.Alignment(33/*exAlignBottomCenter*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\EndangeredAnimals.png");
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\logocanary.png");
	var_s = "ffolder ? ( `Name: <b>` + fname + `</b>` + `<br>` + ( len( 0:= ftype ) ? `Type: <b>` + =:0 + `</b>` + `<br>` : `` ) + ( ffolder ";
	var_s = var_s + "= 1 ? `Size: <b>` + fsizeF + `</b>` + `<br>` : `` ) + `Created: <b>` + date(fcreated - bias/24/60) + `</b>` + `<br>` + `Modified";
	var_s = var_s + ": <b>` + date(fmodified - bias/24/60) + `</b>`+ `<br>` + `Last Opened: <b>` + date(fopened - bias/24/60) + `</b>`+ (fpicture ? (";
	var_s = var_s + "`<br>Dimensions: <b>` + fwidth + ` x ` + fheight + `</b>` ) : ``) ) : ffile";
	exthumbnail1.Caption(var_s);
	exthumbnail1.SingleCaption(exthumbnail1.Caption());
	exthumbnail1.EndUpdate();
}
32
Can I display the thumbnail's caption based on the size of the view
public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.InputFile("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\elogo.jpg");
	exthumbnail1.Caption("width < 256 ? fname : ffile");
	exthumbnail1.EndUpdate();
}
31
How do I know the thumbnail's size (sample 2)

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AcceptFolders(-1/*exIncludeSubFilesOnly*/);
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample");
	exthumbnail1.Caption("`View: ` + width + ` x ` + height");
	exthumbnail1.EndUpdate();
}
30
How do I know the thumbnail's size (sample 1)

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.InputFile("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\elogo.jpg");
	exthumbnail1.EndUpdate();
	print( "Width: " );
	print( exthumbnail1.ThumbnailWidth() );
	print( "Height: " );
	print( exthumbnail1.ThumbnailHeight() );
}
29
Is it possible to get the dimensions of the picture file

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.InputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\elogo.jpg");
	exthumbnail1.Caption("`Dimensions: <b>` + fwidth + ` x ` + fheight");
	exthumbnail1.EndUpdate();
}
28
Is there any function to determine whether the file is a picture

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\elogo.jpg");
	exthumbnail1.AddInputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\elogo.jpg.2");
	exthumbnail1.Caption("`IsPicture: <b>` + (fpicture ? `Yes` : `No`)");
	exthumbnail1.EndUpdate();
}
27
How can I get the type of the file, like JPG File, and so on...

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.InputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\elogo.jpg");
	exthumbnail1.Caption("`Type: <b>` + ftype");
	exthumbnail1.EndUpdate();
}
26
How do I get the file/folder's attributes

public void init()
{
	;

	super();

	exthumbnail1.BeginUpdate();
	exthumbnail1.InputFiles("C:\\Program Files\\Exontrol\\ExThumbnail\\Sample\\elogo.jpg");
	exthumbnail1.Caption("`Attributes: <b>0x` + hex(fattr)");
	exthumbnail1.EndUpdate();
}