DelphiTips

Skip to content
  • Home
MENU
  • Home

Volume serial number

admin    April 8, 2008 April 8, 2008    No Comments on Volume serial number

With this simple function, you will be able to get volume serial number and label. It could be either hard disk partition or CD/DVD disk.

Files, System    CD, disk, DVD, number, partition, serial, volume

How to prevent moving of application window

admin    March 29, 2008 March 29, 2008    No Comments on How to prevent moving of application window

If you want to “lock” your application window position and prevent user from moving it, it’s really simple.

Forms, Menus    form, move

Application version

admin    March 27, 2008 March 27, 2008    No Comments on Application version

Using this simple function, you will be able to read version information from any application executable. It’s very useful for example to show your own application version on title bar… Read more »

Files, System    application, version

Detect system font size

admin    February 17, 2008 February 17, 2008    No Comments on Detect system font size

The standard system font size in Windows XP is 96 dpi. You can also use 120 dpi, if your prefer bigger fonts or you can set this font size to… Read more »

Forms, Graphic, System    detect, font, size, System

Drawing text on desktop

admin    January 16, 2008 January 16, 2008    No Comments on Drawing text on desktop

Using this simple trick, you can write any text right on Windows desktop. You can choose text color, transparency, position…

Graphic, System    desktop, draw, text

Own items in application system menu

admin    January 6, 2008 January 6, 2008    No Comments on Own items in application system menu

When you rightclick application title bar (or leftclick icon on title bar), the system menu will appear. Here are common commands to close, minimize or maximize window. But you can… Read more »

Forms, Menus, System    add, item, menu, System

Right justify a main menu item

admin    January 6, 2008 January 6, 2008    No Comments on Right justify a main menu item

If you use standard main menu component, all items are usually on the left side of the window and there is not much you can do about it using Object… Read more »

Forms, Menus, System    item, justify, menu, right

CRC32 (Cyclic Redundency Check)

admin    January 1, 2008 January 1, 2008    No Comments on CRC32 (Cyclic Redundency Check)

One of the most effective method to check if the file is ok is to calculate CRC32 checksum and compare it with previously saved value. Using CRC check, you can… Read more »

Files, Math, System    checksum, CRC, file

Shortened version of a filename

admin    December 31, 2007 December 31, 2007    No Comments on Shortened version of a filename

The length of whole path and file name could be too long to show it in title bar of application or some label. Solution? Show shortened version of a filename… Read more »

Files, Forms, System    canvas, filename, label, minimizename, shortened

How to locate important system directories

admin    November 26, 2007 November 26, 2007    No Comments on How to locate important system directories

Using ShlObj unit and SHGetSpecialFolderLocation Windows API function, we can retrieve the location of a special folders, such as My computer, Desktop, Program Files etc… There are over 20 special… Read more »

Files, System    folders, location, System

Posts pagination

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