Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


bitmap in a speedbutton from an image skin

Posted on 2010-01-10
Medium Priority
Last Modified: 2013-11-23
Hi I'd like to put a image into a speedbutton though the image it within a map of other images like this here


the backgrounds are pink.

now I know that there in a way though I don't know the way, would anyone show me the way of mapping the images and loading that part of the image into a speedbutton?
Question by:eNarc
1 Comment

Accepted Solution

twinsoft earned 2000 total points
ID: 26277423
Hi, place a TImageList on your form. Set the Height and Width properties acccording to the image properties (in mTorrent's case 24X24). Dbl-Click on the ImageList comp and press Add. Browse to the file you saved from mTorrent (or from somewhere else). This will automatically split the multi bmp file into many bmps inside the ImageList. Then add TActionList comp on your form and set the Images property to the ImageList comp. Then create a new Action and set it's Caption and ImageIndex properties to what you want. Finally set the Action property of the SpeedButton to this Action. The bmp will appear on your SpeedButton...

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question