Blog Archives

5-Minute-Snack: Determine all your display dimensions with resolution in Delphi

Back in the day, you did not need to know much about the display that your application has been started on except its dimensions. Forms needed to be resized so they would fit the display nicely. Hardly anybody had multiple displays and resolutions of 4000 pixels were unthinkable. Today, the requirement for applications have changed and multi-display environments with 4K displays have become very common.

Read more ›

Tags: , , , , , , ,

5-Minute-Snack: Determine the vertical refresh rate in Hz of your display

Delphi has taken great strides in the RTL that make using direct Windows API calls more and more redundant. A lot of things can be determined using classes that can either be found in the RTL or VCL. However, the vertical refresh rate seems to have been overlooked as I cannot find it in any of the new classes of the RTL.

Read more ›

Tags: , , , , , , , ,