Screen Size Snippets

Delphi code to display the screen size and the list of fonts

08 December, 2012   

Full screen background image using pure CSS3.

28 December, 2011   

Delphi Code Example for Print Screen using Quick Reports

As the most important building block of any Delphi application, the TForm object is most of the times used as is. Delphi's TForm object provides enough properties and events to help you do (and control) whatever needed with it. Sometimes you'll find out that a few events or properties are missing... Try creating a simple form application. Now...

07 September, 2011   

How to Center a form on the screen

Due to the default Windows handling of the WM_GETMINMAXINFO message, the max size of the form is set to the screen size. Add a button to a form and try this:

30 August, 2011   

Calculates the total size of a MySQL database in KB/MB or GB...

Use this in the <head> of your HTML files.

14 February, 2012   

Use this to size an array for your values

26 April, 2015   

Recursively determines the size of a directory

Display an image anywhere on the screen, without using UI Builder. You can use this for other types of views as well.

Set the Border style of your main form to bsNone and then use System Parameters Info message to get the SPI_GETWORKAREA value then use Set Bounds to make your Window the correct size.

28 January, 2013   

Save a screen capture of a Java Frame/Panel/Window

This is a PHP Class that calculates the size, number of files & folders of a specific directory.

10 March, 2012   

Example Delphi code for Copying a screen

IE 6 and below get a special stylesheet with stripped down basic-but-still-nice styling

An example for Scripted Helper object plugin

19 January, 2012   

CSS code example how to Set the size of the font

08 November, 2012   

Pass the number of bytes and it automatically returns it in b,kb,mb,gb,tb or pb

22 August, 2011   

Here shown how to center an element on screen