Listbox with colored lines
Colored lines in listbox are more user-friendly and easy to read. Here is how to do it…
Colored lines in listbox are more user-friendly and easy to read. Here is how to do it…
Using GetTempFileName, we can create a unique name for temporary file. It’s useful when your application is using temporary files and you want to save them into default TEMP folder… Read more »
To get full path to application associated with any file type, we need standard ShellAPI unit and the rest will do the FindExecutable function.
To search for a specific substring within any type of file, we can use this rather complex function.
When you minimize modal window, this window is “hidden” behind (or below) application main form. Using this simple trick, we can minimize also the main application window together with modal… Read more »
Using GetSystemMetrics function, we can detect how the system is started.
This simple function will return name of currently logged in user.
It’s quite cool efect, but this is also effective way to save some space in your application GUI. Let’s place progressbar of some time-consuming function right into the button, which… Read more »
This short tip will show you how to delete file to Recycle Bin. We need ShellAPI unit and the rest is very simple.
First of all, set ListView to vsReport style and fill in some data. OnColumnClick and OnCompare events will do the rest.