48 |
Is there a way to change the header names
|
47 |
Disable or prevent the header's context-menu
|
46 |
Disable or prevent the list-view's context-menu
|
45 |
Disable or prevent the control's context-menu
|
44 |
How can I add my own items, without the default context menu
// InvokeMenuCommand event - Fired when the user selects an item context menu that has been added during QueryContextMenu event. procedure TForm1.ExShellView1InvokeMenuCommand(ASender: TObject; Command : WideString); begin with ExShellView1 do begin OutputDebugString( Command ); end end; // QueryContextMenu event - Fired when the context menu is about to be active. You can supply new items to the context menu. procedure TForm1.ExShellView1QueryContextMenu(ASender: TObject; var Items : WideString;var Separator : WideString); begin with ExShellView1 do begin Separator := ','; Items := 'My First Item,My Second Item'; end end; with ExShellView1 do begin DefaultMenuItems := False; BrowseFolder := 'c:\Temp'; end |
43 |
How can I add my own items
// InvokeMenuCommand event - Fired when the user selects an item context menu that has been added during QueryContextMenu event. procedure TForm1.ExShellView1InvokeMenuCommand(ASender: TObject; Command : WideString); begin with ExShellView1 do begin OutputDebugString( Command ); end end; // QueryContextMenu event - Fired when the context menu is about to be active. You can supply new items to the context menu. procedure TForm1.ExShellView1QueryContextMenu(ASender: TObject; var Items : WideString;var Separator : WideString); begin with ExShellView1 do begin Separator := ','; Items := ',My First Item,My Second Item'; end end; with ExShellView1 do begin BrowseFolder := 'c:\Temp'; end |
42 |
The InvokeCommand("open") will not work on a german. What can I do
// DblClick event - Occurs when the user dblclk the left mouse button over an object. procedure TForm1.ExShellView1DblClick(ASender: TObject; ); begin // Objects(0).InvokeCommand("Open") with ExShellView1 do begin Objects.Get(EXSHELLVIEWLib_TLB.SelectedItems); end end; // InvokeItemMenu event - Notifies the application once the user selects a command in the context menu. procedure TForm1.ExShellView1InvokeItemMenu(ASender: TObject; Command : Integer); begin with ExShellView1 do begin OutputDebugString( Command ); end end; with ExShellView1 do begin BrowseFolder := 'c:\Temp'; end |
41 |
How can I open the file's properties when user double clicks it
// DblClick event - Occurs when the user dblclk the left mouse button over an object. procedure TForm1.ExShellView1DblClick(ASender: TObject; ); begin // Objects(0).InvokeCommand("Properties") with ExShellView1 do begin Objects.Get(EXSHELLVIEWLib_TLB.SelectedItems); end end; with ExShellView1 do begin BrowseFolder := 'c:\Temp'; end |
40 |
We're looking for a control to show files, just like the eXShellView, but than we would like to specify the files themselves. Is that possible using your control
with ExShellView1 do begin ViewMode := EXSHELLVIEWLib_TLB.LargeIcons; HeaderVisible := False; BrowseFiles := 'C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe|C:\Program Files\Microsoft Visual FoxPro 9\vfp9.exe'; end |
39 |
How do I prevent pressing the Backspace, or go up to the parent
// KeyDown event - Occurs when the user presses a key while an object has the focus. procedure TForm1.ExShellView1KeyDown(ASender: TObject; var KeyCode : Smallint;Shift : Smallint); begin with ExShellView1 do begin OutputDebugString( 'Set the KeyCode = 0, if the KeyCode is 8 ' ); KeyCode := 0; end end; with ExShellView1 do begin ViewMode := EXSHELLVIEWLib_TLB.Details; BrowseFolder := 'c:\Temp'; Refresh(); end |
38 |
How can I show grid lines around items
with ExShellView1 do begin ViewMode := EXSHELLVIEWLib_TLB.Details; DrawGridLines := True; Refresh(); end |
37 |
How can I prevent shwoing the overlay icons (shortcut icons have a small arrow in lower-left corner, shared folders have a hand that shows that folder is shared, etc. )
with ExShellView1 do begin ViewMode := EXSHELLVIEWLib_TLB.LargeIcons; OverlayIcons := False; Refresh(); end |
36 |
I need to provide my own context menu but I am not able to find RClick event. What can be done
// QueryContextMenu event - Fired when the context menu is about to be active. You can supply new items to the context menu. procedure TForm1.ExShellView1QueryContextMenu(ASender: TObject; var Items : WideString;var Separator : WideString); begin with ExShellView1 do begin OutputDebugString( 'Show here your popup/context menu' ); end end; with ExShellView1 do begin DefaultMenuItems := False; end |
35 |
How can I provide my own context menu (RClick event is missing)
// InvokeMenuCommand event - Fired when the user selects an item context menu that has been added during QueryContextMenu event. procedure TForm1.ExShellView1InvokeMenuCommand(ASender: TObject; Command : WideString); begin with ExShellView1 do begin OutputDebugString( Command ); end end; // QueryContextMenu event - Fired when the context menu is about to be active. You can supply new items to the context menu. procedure TForm1.ExShellView1QueryContextMenu(ASender: TObject; var Items : WideString;var Separator : WideString); begin with ExShellView1 do begin Separator := ','; Items := 'First,Second,Third'; end end; with ExShellView1 do begin DefaultMenuItems := False; end |
34 |
Is it possible to specify the "Extra Large Icons" view
|
33 |
Is it possible to specify the "Large Icons" view
|
32 |
Is it possible to specify the "Medium Icons" view
|
31 |
How can I hide the file names
with ExShellView1 do begin HideFileNames := True; ViewMode := EXSHELLVIEWLib_TLB.Thumbnail; end |
30 |
Is it possible to set the Auto Arrange and Align To Grid flags by code
with ExShellView1 do begin AutoArrange := True; AlignToGrid := True; ViewMode := EXSHELLVIEWLib_TLB.Thumbnail; end |
29 |
Is it possible to set the Auto Arrange flag by code
with ExShellView1 do begin AutoArrange := True; ViewMode := EXSHELLVIEWLib_TLB.Thumbnail; end |
28 |
How do I specify the current folder
|
27 |
Is it possible to disable showing tooltips for files and folders
with ExShellView1 do begin HideToolTips := True; end |
26 |
Is it possible to hide the control's header
with ExShellView1 do begin HeaderVisible := False; end |
25 |
How can I get the name of file being double clicked
// ObjectSelect event - Fired when the user selects a new object for browsing. procedure TForm1.ExShellView1ObjectSelect(ASender: TObject; Object : IExShellObject); begin with ExShellView1 do begin CancelObjectSelect(); OutputDebugString( Object ); end end; |
24 |
How can I prevent opening or selecting a folder or zip files when user double click it
|
23 |
Is it possible to list only files, no folders
|
22 |
How can I enable multiple selection
|
21 |
How can I select a file or a folder
|
20 |
How can I get all files and folders as they are listed
|
19 |
How can I get all files and folders being displayed
with ExShellView1 do begin Objects.Get(EXSHELLVIEWLib_TLB.AllItems); OutputDebugString( Objects.Count ); end |
18 |
How do I get the selected files or folders as they are displayed
|
17 |
How do I get the selected files or folders
with ExShellView1 do begin Objects.Get(EXSHELLVIEWLib_TLB.SelectedItems); OutputDebugString( Objects.Count ); end |
16 |
How can I disable or enable the control's context menu
with ExShellView1 do begin DefaultMenuItems := False; end |
15 |
How can I include only files that match a pattern
with ExShellView1 do begin IncludeObjectType := EXSHELLVIEWLib_TLB.PatternObjects; FilePattern := '*.exe *.lnk'; end |
14 |
How can I include only files that match a pattern
with ExShellView1 do begin IncludeObjectType := EXSHELLVIEWLib_TLB.PatternObjects; FilePattern := '*.bmp'; end |
13 |
How can I list only folders in the view
|
12 |
How do I specify what objects files or folders should be included in the list
|
11 |
How do I browse a special folder
|
10 |
How can I go up to one level, so I can browse the parent folder
|
9 |
How do I browse a specified folder
with ExShellView1 do begin BrowseFolder := (IUnknown(ShellFolder['C:\']) as EXSHELLVIEWLib_TLB.ExShellFolder); end |
8 |
How can I disable or enable the entire control
with ExShellView1 do begin Enabled := False; end |
7 |
How do I refresh the control
|
6 |
How can I change the control's font
|
5 |
How can I change the view, so it displays as THUMBNAIL
with ExShellView1 do begin ViewMode := EXSHELLVIEWLib_TLB.Thumbnail; end |
4 |
How can I change the view, so it displays as a a grid with details
with ExShellView1 do begin ViewMode := EXSHELLVIEWLib_TLB.Details; end |
3 |
How can I change the view, so it displays as a list
with ExShellView1 do begin ViewMode := EXSHELLVIEWLib_TLB.List; end |
2 |
How can I change the view, so it displays small icons
with ExShellView1 do begin ViewMode := EXSHELLVIEWLib_TLB.SmallIcon; end |
1 |
How can I change the view, so it displays large icons
with ExShellView1 do begin ViewMode := EXSHELLVIEWLib_TLB.LargeIcons; end |