Delphi

How to Fix Properly "Symbol Resume is deprecated" Warning in Delphi 2010

If you'll upgrade to Delphi 2010, you'll quickly notice that old code you were using to create threads, such as

How to Support "System Font" in InputQuery Delphi Function

If you have applied my techniques fixing Large Fonts and System Font to all forms in your Delphi application, most likely there will be two forms still untouched. These will be the forms hidden inside MessageDlg and InputQuery VCL functions.

In this post I will show how to modify InputQuery to support System Font.

How to Support "System Font" in Delphi Applications

Most Delphi applications are using MS Sans Serif 8 as their default font, meanwhile Windows XP system font is Tahoma 8.25 and Windows Vista system font is Segoe UI.

Below code makes Delphi applications support Windows system font:

How to Support "Large Fonts" / "Custom DPI" in Delphi Applications

99% of Delphi applications I have seen, do not support Large Fonts, or support it very badly. There is a Scaled property in TForm, people think it is about to scale the form in case of non-default DPI setting, but it is just not working properly.

Below code scales TForm the correct way:

Invoking WinAPI Functions in Delphi using Dot Notation

Windows API functions are declared in structured programming style.

For example consider classical example of using critical sections:

How to Optimize Delphi Application Performance to the Max using FastCode Library

If you believe you've optimized your Delphi application to the max, and there is no room for performance improvement, then you should check out following site: http://sourceforge.net/projects/fastcode

How to Make Delphi TPanel designable like TForm & TDataModule

Question/Problem/Abstract:

Make TPanel designable like TForm & TDataModule...

Answer:

Syndicate content