The MB BrowseForFolder Control

If you want to show the “Browse for Folder” dialog in your own application, this is the tool for you. It enables you to change any dialog’s property, such as its caption, foreground color, font, TreeView styles (HotTracking, SingleClickExpand, LinesAtRoot and so on), a textbox to manually type the folder name, and a label control to display the currently selected folder. You can also decide to display folders only, folders and file, printers or the Internet neighborhood. The control exposes a set of events that let you know when the dialog is about to be displayed (so that you can select an initial folder) and when a user selects a folder, and you can cancel the standard dialog action. You can also learn everything about the item that is currently selected: its path and display name, its small and large icons, its description, the type of exe (if it is an executable file), all its attributes. If the user selected a folder, you can determine whether it is shared or has any subfolders. The package contains both the control and a class module, so that you can use all the functionality even if you don’t have a form to place the control on. There is also a FolderTree control, a special TreeView control that automatically shows the file system structure and all its item. You can use it to create an even more customized “Browse for folder” dialog or to add a file/folder browser into your own application. Get the source code.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

The Latest

your company's audio

4 Areas of Your Company Where Your Audio Really Matters

Your company probably relies on audio more than you realize. Whether you’re creating a spoken text message to a colleague or giving a speech, you want your audio to shine. Otherwise, you could cause avoidable friction points and potentially hurt your brand reputation. For example, let’s say you create a

chrome os developer mode

How to Turn on Chrome OS Developer Mode

Google’s Chrome OS is a popular operating system that is widely used on Chromebooks and other devices. While it is designed to be simple and user-friendly, there are times when users may want to access additional features and functionality. One way to do this is by turning on Chrome OS

homes in the real estate industry

Exploring the Latest Tech Trends Impacting the Real Estate Industry

The real estate industry is changing thanks to the newest technological advancements. These new developments — from blockchain and AI to virtual reality and 3D printing — are poised to change how we buy and sell homes. Real estate brokers, buyers, sellers, wholesale real estate professionals, fix and flippers, and beyond may