DelphiTips

Skip to content
  • Home
MENU
  • Home

ComboBox with icons

admin    July 24, 2009 January 14, 2022    No Comments on ComboBox with icons

Each ComboBox item with own icon? No problem. Using OwnerDraw style, we can do almost anything.

Forms, VCL components   

Run application only once per windows-session

admin    June 7, 2009 January 14, 2022    No Comments on Run application only once per windows-session

Using this simple tip, you can block your application to be executable only once per windows sessions. To run application again, Windows must be restarted before.

System, Windows    atom, session, Windows

Own cool text cursor in Editbox

admin    February 17, 2009 January 14, 2022    No Comments on Own cool text cursor in Editbox

Standard text cursor is boring. What about replacing default vertical line with some cool shape?

Graphic, VCL components, Windows    cursor, text

Add own item to Internet Explorer Tools menu

admin    January 21, 2009 January 14, 2022    No Comments on Add own item to Internet Explorer Tools menu

If you want to add own items to Tools menu of Internet Explorer, it’s simple. All we have to do is to add some keys to Windows registry, therefore we… Read more »

Internet, Registry, Windows    explorer, interner, item, menu, tools

How to detect clipboard change

admin    January 14, 2009 January 14, 2022    No Comments on How to detect clipboard change

Detecting clipboard change is very similar to detecting system time change. We will detect WM_DRAWCLIPBOARD system message.

System, Windows    change, clipboard, detect

How to detect system time change

admin    January 7, 2009 January 14, 2022    No Comments on How to detect system time change

If the user changes the system time either with Date and Time properties dialog box or using command line, we can detect this by catching WM_TIMECHANGE system message. Here is… Read more »

System, Windows    change, detect, message, time

Right justify ListBox items

admin    January 4, 2009 January 14, 2022    No Comments on Right justify ListBox items

The default ListBox items alignment is LeftJustify. There is no Object Inspector property to change this, so if we need to right justify items, we must use a simple trick.

Forms, VCL components    align, item, Listbox, right

Get Process Memory Info

admin    September 29, 2008 January 14, 2022    No Comments on Get Process Memory Info

If you want to know how many bytes of memory is using your process, here is simple example.

System, Windows    memory, process, System

Change font, size and style of hint

admin    July 29, 2008 January 14, 2022    No Comments on Change font, size and style of hint

Hints are everywhere. Almost every GUI element in Windows can be “hinted”. When user hover mouse over element, small yellow bubble with help text pops up. Is it possible to… Read more »

Forms, VCL components, Windows    font, hint, style

Change color of ListView items

admin    July 6, 2008 January 14, 2022    No Comments on Change color of ListView items

To change background color of ListView items, you need to write your own OnCustomDrawItem event handler.

Graphic, VCL components    color, ListView

Posts navigation

« Previous 1 2 3 4 5 … 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