Rearrange Multiple TListView Items using Drag and Drop in Delphi apps
in Delphi VCL :: 
Using Delphi's drag and drop operations it is easy to implement rearranging multiple items in a TListView control.
Most MP3 (any multimedia) players allow arranging playlist using the technique provided in this article.
Read the full article to learn how to Rearrange Multiple TListView Items using Drag and Drop
Related:
Programmatically Detect the MyDocuments Folder for the Current Windows User from Delphi
in Delphi TIPS :: The "MyDocuments" folder in Windows should be used to store user created documents such as text documents or presentations.
If your Delphi program creates application specific documents you want to be stored in the "MyDocuments" folder for the currently logged Windows user, you need to programmatically determine the path to the "MyDocuments" folder.
Read the full article to learn how to Programmatically Detect the MyDocuments Folder for the Current Windows User.
Related:
Preserve Code Folding When Reopening a Delphi Project
Introduced in Delphi 8, code folding is a feature of the Delphi IDE which lets you collapse (hide) and expand (show) your code to make it easier to navigate and read. By default, when you close and reopen your project the code that you collapsed would appear expanded - your code folding preferences are not saved. Here's how to "fix" this.
Read the full article to learn how to Preserve Code Folding When Reopening a Delphi Project
Related:
Incremental Search for the TListBox Delphi Control
in Delphi VCL :: 
Imagine a list box with a huge number of (unsorted) items. Finding the one user wants to select might turn into a nightmare. Let's provide the user with an option to immediately locate the item in the list box by adding incremental search functionality.
Read the full article to learn how to Implement Incremental Search for the TListBox Delphi Control
Related:
Delphi Popup Menu With Different Item Heights (and Custom Graphics)
in Delphi TIPS :: 
If you need to have different heights for some of the menu items, in Delphi applications, you must turn to owner drawing. Here's how to draw a custom sized image for a popup menu item.
Read the full article to learn how to create a Popup Menu With Different Item Heights (and Custom Graphics)
Related:
Display a Password Dialog when Restoring a Delphi Application from the TaskBar
Advanced Delphi:: Suppose you have a data-critical type of application where you would not want a non-authored user to work with the data. What if you need to display a password dialog *before* the application is restored to make sure an authorized user is accessing it? Here's how to do it in Delphi.
Read the full article to learn how to Display a Password Dialog when Restoring a Delphi Application from the TaskBar
Related:
Rename a Directory / Folder Using Delphi Code
Read the full article to learn how to Use RenameFile to Rename a Directory
Related:
How to Hide / Show the Main Menu of a Delphi Application
in Delphi TIPS :: The TMainMenu Delphi component does not expose the Visible property to let you show or hide the menu for a form programmatically, does it? It does not, but there is a way to hide the main menu for a Delphi form at run time. Here's how...
Read the full article to learn how to How to Hide / Show the Main Menu of a Delphi Application
Related:
Display a LogIn Dialog Before the Main Form of a Delphi Application is Created
in Advanced Delphi :: 
If you need to implement some kind of authorization for your Delphi application you might want to display a login / password dialog *before* the main form is created and displayed to the user. In short, the idea would be to create, display, and destroy the "login" dialog before creating the main form.
Read the full article to learn how to Display a LogIn Dialog Before the Main Form of a Delphi Application is Created
Related:
How to Implement the OnCreate event for a Delphi TFrame object
in Delphi TIPS :: 
A frame, like a form, is a container for other components. Frames can be nested within forms or other frames, and they can be saved on the Component palette for easy reuse.
Once you start using frames, you'll note there's no OnCreate event you can use to initialize your frames.
Read the full article to learn How to Implement the OnCreate event for a Delphi TFrame object
Related:

