49
Large icons

with AxExFolderView1 do
begin
	SmallIcons := False;
	f := (ComObj.CreateComObject(ComObj.ProgIDToClassID('StdFont')) as stdole.StdFont);
	with f do
	begin
		Size := 16;
	end;
	Font := (f as stdole.StdFont);
end
48
Small icons

with AxExFolderView1 do
begin
	SmallIcons := True;
end
47
Folder icons are very close together vertically. Can you change the icon or increase the separation

with AxExFolderView1 do
begin
	ItemHeight := 24;
end
46
Is it possible to re-call the ExploreFromHere without re-selecting/expanding any previously item

// Click event - Occurs when the user presses and then releases the left mouse button over the control.
procedure TWinForm1.AxExFolderView1_ClickEvent(sender: System.Object; e: System.EventArgs);
begin
	with AxExFolderView1 do
	begin
		ExploreFromHere := '|reset';
	end
end;

with AxExFolderView1 do
begin
	ExploreFromHere := 'c:\';
end
45
How can I expand a folder

with AxExFolderView1 do
begin
	get_ShellFolder('C:\').Expanded := True;
end
44
How do I get the subfolders of specified folder

with AxExFolderView1 do
begin
	var_ShellFolders := (get_ShellFolder('C:\').Folders as EXFOLDERVIEWLib.ShellFolders);
end
43
How do I check a folder

with AxExFolderView1 do
begin
	HasCheckBoxes := True;
	get_ShellFolder('C:\').Check := True;
end
42
How do I get the name of folder, as it is displayed in the control

with AxExFolderView1 do
begin
	var_DisplayName := FirstVisibleFolder.DisplayName;
end
41
How can I specify the folders being displayed in the control

// IncludeFolder event - Occurs when the user includes folders to the control.
procedure TWinForm1.AxExFolderView1_IncludeFolder(sender: System.Object; e: AxEXFOLDERVIEWLib._IExFolderViewEvents_IncludeFolderEvent);
begin
	with AxExFolderView1 do
	begin
		e.include := False;
	end
end;

with AxExFolderView1 do
begin
	IncludeFolder := True;
end
40
How can I include the files and folders in the control

with AxExFolderView1 do
begin
	IncludeAttributeMask := 2147483703;
end
39
How can I change the control's font

with AxExFolderView1 do
begin
	f := (ComObj.CreateComObject(ComObj.ProgIDToClassID('StdFont')) as stdole.StdFont);
	with f do
	begin
		Name := 'Verdana';
		Size := 12;
	end;
	Font := (f as stdole.StdFont);
end
38
Can I add a rename to the control's context menu
with AxExFolderView1 do
begin
	CanRename := True;
end
37
How can I change the shape of the cursor
with AxExFolderView1 do
begin
	MousePointer := 2;
end
36
How can I get height of the horizontal scroll bar
with AxExFolderView1 do
begin
	OutputDebugString( HorizontalHeight );
end
35
How can I get width of the vertical scroll bar
with AxExFolderView1 do
begin
	OutputDebugString( VerticalWidth );
end
34
How can I remove the control's scroll bars
with AxExFolderView1 do
begin
	OutputDebugString( Scrollbars );
end
33
How can I get the horizontal scroll range
with AxExFolderView1 do
begin
	OutputDebugString( HorizontalOversize );
end
32
How can I get the horizontal scroll position
with AxExFolderView1 do
begin
	OutputDebugString( HorizontalOffset );
end
31
How can I get the vertical scroll range
with AxExFolderView1 do
begin
	OutputDebugString( VerticalOversize );
end
30
How can I get the vertical scroll position
with AxExFolderView1 do
begin
	OutputDebugString( VerticalOffset );
end
29
Can I assign partial check boxes to folders, so the sub folders get checked when the user checks the parent folder

with AxExFolderView1 do
begin
	HasCheckBoxes := True;
	PartialCheck := True;
	FirstVisibleFolder.Check := True;
end
28
How can I drop files to control
with AxExFolderView1 do
begin
	AllowDropFiles := True;
end
27
Can I explore only a folder, so the user can't see the parent folder

with AxExFolderView1 do
begin
	ExploreFromHere := 'c:\';
end
26
How can I hide the icons

with AxExFolderView1 do
begin
	IconsVisible := False;
end
25
How can I disable or enable the entire control
with AxExFolderView1 do
begin
	Enabled := False;
end
24
How can I expand a folder

with AxExFolderView1 do
begin
	EnsureVisible(TObject(get_SpecialFolderPath(EXFOLDERVIEWLib.SpecialFolderPathEnum.StartMenu)));
end
23
How can I ensure that a specified folder fits the contrl's client area

with AxExFolderView1 do
begin
	EnsureVisible(TObject(get_SpecialFolderPath(EXFOLDERVIEWLib.SpecialFolderPathEnum.StartMenu)));
end
22
How do I refresh the control
with AxExFolderView1 do
begin
	Refresh();
end
21
Is there any function or property to get the first visible folder

with AxExFolderView1 do
begin
	HasCheckBoxes := True;
	FirstVisibleFolder.Check := True;
end
20
How do I find a special folder, like My Computer

with AxExFolderView1 do
begin
	SelectedFolder := '::{20D04FE0-3AEA-1069-A2D8-08002B30309D}';
end
19
How do I find a special folder, like My Computer

with AxExFolderView1 do
begin
	SelectedFolder := TObject(get_SpecialFolderPath(EXFOLDERVIEWLib.SpecialFolderPathEnum.MyComputer));
end
18
How do I select and expand a folder

with AxExFolderView1 do
begin
	SelectedFolder := TObject(get_SpecialFolderPath(EXFOLDERVIEWLib.SpecialFolderPathEnum.Programs));
end
17
How do I select and expand a folder

with AxExFolderView1 do
begin
	SelectedFolder := 'c:\';
end
16
How do I select a folder

with AxExFolderView1 do
begin
	SelectedFolder := 'c:\';
end
15
How do I get the checked folders or files

with AxExFolderView1 do
begin
	HasCheckBoxes := True;
	FirstVisibleFolder.Check := True;
	OutputDebugString( FoldersCheck.Count );
end
14
How can I display the hidden folders

with AxExFolderView1 do
begin
	HiddenFolders := True;
end
13
How can I get the folder or the file from the point
// MouseMove event - Fired when the user move the mouse over the ExFolderView control.
procedure TWinForm1.AxExFolderView1_MouseMoveEvent(sender: System.Object; e: AxEXFOLDERVIEWLib._IExFolderViewEvents_MouseMoveEvent);
begin
	with AxExFolderView1 do
	begin
		OutputDebugString( get_FolderFromPoint(-1,-1) );
	end
end;


12
How can I refresh the control as soon as the user renames a folder in Windows Explorer
with AxExFolderView1 do
begin
	AutoUpdate := True;
end
11
How do I enable or disable the control's context menu
with AxExFolderView1 do
begin
	EnableShellMenu := False;
end
10
How do I hide the overlay icons
with AxExFolderView1 do
begin
	OverlayIcons := False;
end
9
How do I display the overlay icons
with AxExFolderView1 do
begin
	OverlayIcons := True;
end
8
How do I display the share name for folders and files
with AxExFolderView1 do
begin
	DisplayShareName := True;
end
7
How do I assign a checkbox for each folder/file in the control

with AxExFolderView1 do
begin
	HasCheckBoxes := True;
end
6
How do I remove the lines that link the root items

with AxExFolderView1 do
begin
	HasLinesAtRoot := False;
end
5
How do I remove the buttons to expand or collapse the folders

with AxExFolderView1 do
begin
	HasButtons := False;
end
4
How do I remove the lines between items

with AxExFolderView1 do
begin
	HasLines := False;
end
3
How do I remove the control's border
with AxExFolderView1 do
begin
	Appearance := EXFOLDERVIEWLib.AppearanceEnum.Flat;
end
2
How do I change the control's foreground color

with AxExFolderView1 do
begin
	ForeColor := Color.FromArgb(255,0,0);
end
1
How do I change the control's background color

with AxExFolderView1 do
begin
	BackColor := Color.FromArgb(255,0,0);
end