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. *** LPARAMETERS Items,Separator with thisform.ExShellView1 DEBUGOUT( "Show here your popup/context menu" ) endwith with thisform.ExShellView1 .DefaultMenuItems = .F. endwith
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. *** LPARAMETERS Command with thisform.ExShellView1 DEBUGOUT( Command ) endwith *** QueryContextMenu event - Fired when the context menu is about to be active. You can supply new items to the context menu. *** LPARAMETERS Items,Separator with thisform.ExShellView1 Separator = "," Items = "First,Second,Third" endwith with thisform.ExShellView1 .DefaultMenuItems = .F. endwith
34. Is it possible to specify the "Extra Large Icons" view
with thisform.ExShellView1
.ViewMode = 13
endwith
33. Is it possible to specify the "Large Icons" view
with thisform.ExShellView1
.ViewMode = 14
endwith
32. Is it possible to specify the "Medium Icons" view
with thisform.ExShellView1
.ViewMode = 15
endwith
31. How can I hide the file names
with thisform.ExShellView1 .HideFileNames = .T. .ViewMode = 5 endwith
30. Is it possible to set the Auto Arrange and Align To Grid flags by code
with thisform.ExShellView1 .AutoArrange = .T. .AlignToGrid = .T. .ViewMode = 5 endwith
29. Is it possible to set the Auto Arrange flag by code
with thisform.ExShellView1 .AutoArrange = .T. .ViewMode = 5 endwith
28. How do I specify the current folder
with thisform.ExShellView1
.CurrentFolder = "c:\windows"
endwith
27. Is it possible to disable showing tooltips for files and folders
with thisform.ExShellView1
.HideToolTips = .T.
endwith
26. Is it possible to hide the control's header
with thisform.ExShellView1
.HeaderVisible = .F.
endwith
25. How can I get the name of file being double clicked
*** ObjectSelect event - Fired when the user selects a new object for browsing. *** LPARAMETERS Object with thisform.ExShellView1 .CancelObjectSelect DEBUGOUT( 0 ) endwith
24. How can I prevent opening or selecting a folder or zip files when user double click it
*** ObjectSelect event - Fired when the user selects a new object for browsing. *** LPARAMETERS Object with thisform.ExShellView1 .CancelObjectSelect endwith
23. Is it possible to list only files, no folders
with thisform.ExShellView1
.ModifyFolderFlags(128,0)
endwith
22. How can I enable multiple selection
with thisform.ExShellView1 .ModifyFolderFlags(0,64) .Refresh endwith
21. How can I select a file or a folder
with thisform.ExShellView1 .Objects.Get(2) .Objects.Item(0).SelectItem(1) endwith
20. How can I get all files and folders as they are listed
with thisform.ExShellView1 .Objects.Get(18) DEBUGOUT( .Objects.Count ) endwith
19. How can I get all files and folders being displayed
with thisform.ExShellView1 .Objects.Get(2) DEBUGOUT( .Objects.Count ) endwith
18. How do I get the selected files or folders as they are displayed
with thisform.ExShellView1 .Objects.Get(17) DEBUGOUT( .Objects.Count ) endwith
17. How do I get the selected files or folders
with thisform.ExShellView1 .Objects.Get(1) DEBUGOUT( .Objects.Count ) endwith
16. How can I disable or enable the control's context menu
with thisform.ExShellView1
.DefaultMenuItems = .F.
endwith
15. How can I include only files that match a pattern
with thisform.ExShellView1 .IncludeObjectType = 3 .FilePattern = "*.exe *.lnk" endwith
14. How can I include only files that match a pattern
with thisform.ExShellView1 .IncludeObjectType = 3 .FilePattern = "*.bmp" endwith
13. How can I list only folders in the view
with thisform.ExShellView1
.IncludeObjectType = 2
endwith
12. How do I specify what objects files or folders should be included in the list
with thisform.ExShellView1
.IncludeObjectType = 2
endwith
11. How do I browse a special folder
with thisform.ExShellView1 .BrowseFolder = .ShellFolder(.SpecialFolder(2)) endwith
10. How can I go up to one level, so I can browse the parent folder
with thisform.ExShellView1 .BrowseFolder = .ShellFolder("C:\") .UpOneLevel endwith
9. How do I browse a specified folder
with thisform.ExShellView1 .BrowseFolder = .ShellFolder("C:\") endwith
8. How can I disable or enable the entire control
with thisform.ExShellView1
.Enabled = .F.
endwith
7. How do I refresh the control
with thisform.ExShellView1
.Refresh
endwith
6. How can I change the control's font
with thisform.ExShellView1
f = CreateObject("StdFont")
with f
.Name = "Verdana"
.Size = 12
endwith
.Font = f
endwith
5. How can I change the view, so it displays as THUMBNAIL
with thisform.ExShellView1
.ViewMode = 5
endwith
4. How can I change the view, so it displays as a a grid with details
with thisform.ExShellView1
.ViewMode = 4
endwith
3. How can I change the view, so it displays as a list
with thisform.ExShellView1
.ViewMode = 3
endwith
2. How can I change the view, so it displays small icons
with thisform.ExShellView1
.ViewMode = 2
endwith
1. How can I change the view, so it displays large icons
with thisform.ExShellView1
.ViewMode = 1
endwith