Delphi tips
![]() |
Delphi Articles · What's New and Hot
Howto...
- How to read and write a file to and from a string?
- How to execute an external application?
- How to show the Control Panel window or run a Control Panel applet?
- How to wait till an application ends?
- How to access the Windows Registry?
- How to determine the associated application?
- How to look for files?
- How to determine the short name (DOS name) of a file?
- How to access hidden properties?
- How to add new methods and properties without registering new components?
- How to know which column was clicked in a TListView?
- How to sort a TListView?
- How to determine the actual length of a string?
- How to look for files recursively in the hard disk?
- How to get the icon of an application or document?
- How to set the invisible color of a transparent image?
- How to imitate deltree.exe?
- How to get Windows important directories?
- How to compare a string with a pattern?
- How to determine if a file name matches a specification?
- How to set the desktop wallpaper?
- How to use custom cursors?
- How to automatically load a form on demand?
- How to make MessageDlg play the corresponding sound?
- How to play a custom sound?
- How to set the default printer?
- How to prevent the user from closing a form?
- How to create a unique temporary file?
- How to know if there is a disk/diskette/CD in a removable-disk drive?
- How to get the dates of the first and last day of the month of a given date?
- How to change the screen resolution?
- How to make an application run automatically when Windows starts?
- How to round numbers in different ways?
- How to close another application?
- How to start an application as an icon in the system tray?
- How to open a Microsoft Access .MDB database?
- How to get the list of all tables and queries in a database using the BDE?
- How to get the user name of a Windows session?
- How to get the computer's network name?
- How to get the drive letter of the CD-ROM drive unit?
- How to invoke the default mailer program to send an email?
- How to conquer the glitch of indistinguishable gray blobs in disabled menu items?
- How to put color to a button?
- How to remove the frame (border) of a progress bar?
- How to overcome the BorderWitdth property error?
- How to output angled (rotated) text?
- How to capture application messages?
- How to specify the size of an array at runtime?
- How to know if a form has moved?
- How to get the BIOS serial number?
- How to convert from TFileTime to TDateTime?
- How to read DOS files with special characters?
- How to prevent the user from selecting text in a memo control without setting Enabled to False??
- How to deactivate the popup menu that appears when we right-click components that allow editing?
NOTE: Except where explicitly stated otherwise, these tips and articles are meant for Delphi 5, although many might work without modifications in previous versions of 32-bit Delphi.
![]() |





