DelphiTips

Skip to content
  • Home
MENU
  • Home

Listbox with colored lines

admin    June 30, 2008 January 14, 2022    No Comments on Listbox with colored lines

Colored lines in listbox are more user-friendly and easy to read. Here is how to do it…

Forms, Graphic, VCL components    color, Listbox

Get a unique name for temporary file

admin    May 27, 2008 January 14, 2022    No Comments on Get a unique name for temporary file

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 »

Files, System, Windows    file, name, TEMP, temporary, unique

How to detect application associated with file

admin    May 25, 2008 January 14, 2022    No Comments on How to detect application associated with file

To get full path to application associated with any file type, we need standard ShellAPI unit and the rest will do the FindExecutable function.

Files, System, Windows    application, associated, file

Searching for string within a file

admin    May 15, 2008 January 14, 2022    No Comments on Searching for string within a file

To search for a specific substring within any type of file, we can use this rather complex function.

Files    file, search, substring

How to minimize application with modal window

admin    May 7, 2008 January 14, 2022    No Comments on How to minimize application with modal window

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 »

Forms, System, Windows    minimize, modal, window

Detecting Windows boot-up state using GetSystemMetrics function

admin    April 25, 2008 January 14, 2022    No Comments on Detecting Windows boot-up state using GetSystemMetrics function

Using GetSystemMetrics function, we can detect how the system is started.

System, Windows    windows boot state

Get user name of currently logged in user

admin    April 24, 2008 January 14, 2022    No Comments on Get user name of currently logged in user

This simple function will return name of currently logged in user.

System    user name logged in

Progressbar inside Button? No problem

admin    April 16, 2008 January 14, 2022    No Comments on Progressbar inside Button? No problem

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 »

Forms, Graphic, VCL components    button, progressbar

Delete file to Recycle Bin

admin    April 11, 2008 January 14, 2022    No Comments on Delete file to Recycle Bin

This short tip will show you how to delete file to Recycle Bin. We need ShellAPI unit and the rest is very simple.

Files, System    delete file recycle bin flag

Sort ListView by clicking on columns

admin    April 10, 2008 January 14, 2022    No Comments on Sort ListView by clicking on columns

First of all, set ListView to vsReport style and fill in some data. OnColumnClick and OnCompare events will do the rest.

Forms, VCL components    column, compare, ListView, sort

Posts pagination

« Previous 1 2 3 4 5 6 … 8 Next »

Categories

  • Android (5)
  • Files (10)
  • Firemonkey (5)
  • Forms (17)
  • Graphic (6)
  • Internet (3)
  • LAN (1)
  • Links (1)
  • Linux (1)
  • Math (1)
  • Menus (3)
  • RAD Studio (9)
  • Registry (3)
  • System (37)
  • Tips (19)
  • Uncategorized (1)
  • VCL components (9)
  • Windows (12)

Recent Posts

  • Delphi Community Edition
  • RAD Studio 10.2 “Tokyo” available now
  • Delphi 10.1 Berlin Starter Edition for free
  • RAD Studio, C++Builder and Delphi 10.1 “Berlin” released
  • RAD Studio, Delphi and C++ Builder 10 Seattle Update 1