Delphi windows explorer component
ShellBrowser contains the controls you need for any use case, so you can concentrate on your actual work. Highly Configurable. Control components' look and behavior according to your scenario! Most components fully support Delphi Visual Styles. More Powerful Features. Visual Tour. See All Included Components.
FAQ, Manual. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. How to open windows explorer when I click a button? Ask Question. Asked 12 years, 5 months ago. Active 2 months ago. Viewed 21k times. What code will I need to achieve this? Tobassum Munir Tobassum Munir 1 1 gold badge 5 5 silver badges 9 9 bronze badges. Add a comment. Active Oldest Votes.
Well in case you need to select some particular file in explorer I have the following function which I use procedure SelectFileInExplorer const Fn: string ; begin ShellExecute Application. The TJamOpenSaveComboBox has been designed specifically for the user to enter or select a file name in custom file dialogs. A list of the most recently used files is available in the drop-down menu.
As the name suggests, the TJamFilterCombo can be configured with a list of filters. The filter can be selected from a list of predefined filters or will be supplied on-the-fly. Present a list of all connected net drives and let users of your application easily disconnect them with the TJamNetDisconnectDialog component. The TJamFileOperation component is used to perform file operations like copy, move, rename, or delete.
TShellBrowser is a non-visual component allowing you to browse the shell namespace of Windows, to query information about shell objects and to perform context menu operations. The TJamShellChangeNotifier component informs about changes in the file system and the shell such as copy, move, or delete. Gain access to the Windows system image list with the TJamSystemImageList component and display shell-related information.
Keeping the displayed folder or selected elements of the visual ShellBrowser components in sync is very easy with the TJamShellLink component. Users can type into the combo box and use the autocomplete feature. A JamShellLink mediates events between different components. This time we placed a JamThumbnailImage component on the right side to display all documents known to the Windows operating system as a preview.
The JamShellChangeNotifier component notifies if changes occur on the filesystem. The collection of items specifies where the JamShellChangeNotifier should listen for file or folder events. If the list is empty, the component notifies changes of the whole file system. On the left you can choose on what events the component should create a change event. In our example a textbox contains relevant information. The JamDriveList component lists the configured drive letters and the disk space available on then.
See how easily you can configure columns and display panes, apply filters, or set group and sorting options. JAMExplorer is a project showing you how to build an Explorer-like application using the visual shell controls of the ShellBrowser component suite.
On the left pane, you see the Windows TreeView, on the right pane the contents of the current folder are displayed. When a user right-clicks on an item, the context menu is displayed. The only extra code written for this sample project were the handlers for the SpeedButtons in the toolbar of the window usually one line for each button. JAMSearch is a project simulating the Windows file search. The user can search for file types as well as certain file dates or file sizes and decide whether subfolders should be included in the search or not.
Easy is an introductory project, which illustrates some frequently needed functions using the TShellBrowser class, e. It logs drag operations received or started by the connected controls. Read first-hand opinions of —ShellBrowser Delphi users. Implementing all the complicated functions ShellBrowser covers would simply have taken too much time. Many thanks for the great support. My product would not have been released without the changes to ShellBrowser you implemented and the quick bugfixes!
Everything works fast, stable, and just as I designed it. Measure content performance. Develop and improve products. List of Partners vendors. Share Flipboard Email. By Zarko Gajic Zarko Gajic. Learn about our Editorial Process. Featured Video. Cite this Article Format. Gajic, Zarko. Understanding and Processing Keyboard Events in Delphi. Understanding the Sender parameter in Delphi Event Handlers. Creating a Delphi Notepad: Open and Save.
0コメント