Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4075010
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T17:14:37+00:00 2026-05-20T17:14:37+00:00

My program is doing a time consuming task, and I would like to display

  • 0

My program is doing a time consuming task, and I would like to display a TImage in the middle of the application window, but it will not stay on top – my VST is always on top. However, when I use a TPanel, it stays on top? How can I make my TImage do that?

In fact, a solution that applies to all controls would be splendid 🙂

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T17:14:37+00:00Added an answer on May 20, 2026 at 5:14 pm

    You need a windowed control (that is, a control with a window handle, or a “proper” control) to display your message, because a non-windowed control cannot be visible above a windowed control. The easiest solution is to place the TImage in a TPanel and set Image1.Align := alClient and Panel1.BorderStyle := bsNone.

    If you wish to draw a semi-transparent bitmap on top of your ordinary controls, you can do like I always do:

    procedure TForm1.Button1Click(Sender: TObject);
    var
      bm: TBitmap;
      png: TPngImage;
    begin
      // The form contains a hidden TPanel (somewhere on the form)
      // with a TImage (alClient).
    
      // png is a PNG image with an alpha channel
      png := TPngImage.Create;
      try
        png.LoadFromFile('C:\Users\Andreas Rejbrand\Pictures\alpha.png');
        // Create bitmap of form and blend PNG on it
        bm := GetFormImage;
        try
          bm.Canvas.Draw(0, 0, png);
          Image1.Picture.Bitmap := bm;
        finally
          bm.Free;
        end;
        Panel1.Align := alClient;
        Panel1.BringToFront;
        Panel1.Show;
      finally
        png.Free;
      end;
    end;
    

    Sample result

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I'm using /usr/bin/time to measure my program, and I'm doing multiple runs of
I am doing a simple JSP program to connect with MySQL DB. But it's
I am doing a minesweeper program for school, but i keep getting this error
I'm doing a program to handle many blocking I/O operations at a time by
I'm doing an expression valuation program, just like this . My problem is that
I would like to do the following: In a FORTRAN program call myPackageFunction(MPI_User_function) ...shall
/*This program will ask a user to enter a song list. By doing this
I have a program using android and I would like a few tips on
This might not appear like a programming question, but inherently deals with code. I
Here is the story. I was doing a program, every time the program is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.