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 8701505
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T02:24:54+00:00 2026-06-13T02:24:54+00:00

I want a bmp image to appear on a single page selectadditionaltasks but it

  • 0

I want a bmp image to appear on a single page “selectadditionaltasks” but it appears on all pages. What am I doing wrong?

procedure LogoOnClick(Sender: TObject);
var ResCode: Integer;
begin
end;
procedure LogoWizard();

var
  BtnPanel: TPanel;
  BtnImage: TBitmapImage;
begin
  ExtractTemporaryFile('Logo.bmp')

  BtnPanel:=TPanel.Create(WizardForm)
  with BtnPanel do begin
    Left:=40
    Top:=250
    Width:=455
    Height:=42
    Cursor:=crHand
    OnClick:=@logoOnClick
    Parent:=WizardForm
  end
  BtnImage:=TBitmapImage.Create(WizardForm)
  with BtnImage do begin
    AutoSize:=True;
    Enabled:=False;
    Bitmap.LoadFromFile(ExpandConstant('{tmp}')+'\Logo.bmp')
    Parent:=BtnPanel
  end
end;
procedure InitializeWizard();
begin
  LogoWizard();
end;

image example

Setup screenshot

  • 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-06-13T02:24:55+00:00Added an answer on June 13, 2026 at 2:24 am

    By setting a Parent of your BtnPanel to the WizardForm you’re telling, that you want that panel to be an immediate child of the whole wizard form. You’d have to change the BtnPanel.Parent property to the page surface, on which you want that panel to appear.

    Since you want your image to appear on the Select Additional Tasks wizard page, the best I can suggest is to use just the image without an underlying panel and resize the TasksList check list box, which by default covers also the bottom area of the page, where you want to place your image. And that does the following script. You may follow the commented version of this script as well:

    [Setup]
    AppName=My Program
    AppVersion=1.5
    DefaultDirName={pf}\My Program
    
    [Files]
    Source: "Logo.bmp"; Flags: dontcopy
    
    [Tasks]
    Name: associate; Description: "&Associate files"; Flags: unchecked
    Name: desktopicon; Description: "Create a &desktop icon"; Flags: unchecked
    
    [Code]
    procedure LogoOnClick(Sender: TObject);
    begin
      MsgBox('Hello!', mbInformation, MB_OK);
    end;
    
    procedure InitializeWizard;
    var
      BtnImage: TBitmapImage;
    begin
      ExtractTemporaryFile('Logo.bmp');
    
      BtnImage := TBitmapImage.Create(WizardForm);
      with BtnImage do 
      begin
        Parent := WizardForm.SelectTasksPage;
        Bitmap.LoadFromFile(ExpandConstant('{tmp}')+'\Logo.bmp');
        AutoSize := True;
        Left := 0;
        Top := WizardForm.SelectTasksPage.Top + WizardForm.SelectTasksPage.Height - 
          Height - 8;
        Cursor := crHand;
        OnClick := @LogoOnClick;            
      end;
      WizardForm.TasksList.Height :=
        WizardForm.TasksList.Height - BtnImage.Height - 8;
    end;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to draw image(bmp) using an image pointer by VS2005(MFC). But I don't
I want to change the resolution of the .bmp image in python. ( i.e.
I want to get as string the image extension (for example jpg, png, bmp
I want to set a background image for my form/window like this guy but
Some jpeg image is stored with .bmp ext. I want to use gdi+ to
i want to draw a line on a bmp image which is pass into
I want to load a bmp file (in Java) and manipulate the image data
I want to create PDF (or any of image formats [ png, jpg, bmp
I want to change the image resource for bitmap dynamically. But I can't call
I have: WriteableBitmap bmp; I basicly want to save it into a file on

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.