?
Solved

bitmap in a speedbutton from an image skin

Posted on 2010-01-10
1
Medium Priority
?
569 Views
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

http://www.utorrent.com/skins/index/category/toolbar/order/popular/limit/20

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?
0
Comment
Question by:eNarc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 7

Accepted Solution

by:
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...
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month8 days, 20 hours left to enroll

764 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