How to do it...

In this case, we require some step-by-step instructions, so here they are:

  1. Create a new FireMonkey desktop application (navigate to File | New | Multi-Device Application).
  2. Drop a TImage component on the form. Set its Align property to Client, and use the MultiResBitmap property and its property editor to load a nice-looking picture.
  3. Set the WrapMode property to Fit and resize the form to let the image cover the entire form.
  4. Now drop a TEdit component and a TListBox component over the TImage component. Name the TEdit component EditSearch and the TListBox component ListBoxHouses.
  5. Set the Scale property of the TEdit and TListBox components to the following values:
    • Scale.X: 2
    • Scale.Y: 2
  1. Your form should now look like the ...

Get Delphi Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.