Solved

Combobox looking for...

Posted on 1998-07-23
3
183 Views
Last Modified: 2010-05-18
hi,

Maybe someone can help me here.
I need a combobox where I can use a picture for the button. And also the combobox must not have a border around it.
I'm using a standard one now, on a black background, also for the combo, but there is always a white border visible. And since my program is not using any "standard" windows buttons, the gray combo button is out of place. So a picture replacement would be nice (16x16 pixels is enough). Does any one know of such a component? It has to be free. And for delphi 3.
OR, can someone make such a combo for me. I will give up to 500 points for it.
bye and take care
0
Comment
Question by:degraef
[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
3 Comments
 
LVL 4

Expert Comment

by:erajoj
ID: 1358564
If I'm not mistaking, the RX packages contain something like that.
Have you checked DSP and Torry's?
Specify your needs better so noone vastes time on writing what you don't want anyway.

/// John
0
 
LVL 10

Accepted Solution

by:
viktornet earned 50 total points
ID: 1358565
You can create an image onto the combobox's button...
You can try something similar to this if you don't have the RXLibrary....

procedure ...................................
var img: TImage;
begin
  img := TImage.Create(self);
  try
    with img do
      begin
        Parent := CBox;
        LoadFromFile('C:\windows\TheNameOfBmpFile.bmp')
        Left := CBox.Width - 30;
       Top := 1;
        Width := 30;
        Height := CBox.Width -1;      
        Visible := true;
       end;    
     finally
   img.free;
end;
end;

Viktor Ivanov
0
 

Author Comment

by:degraef
ID: 1358566
hi,

I checked out the RXLibrary.

1. There is no lines routine? How do I add any values?
2. The button does allow a picture but the outlines of the button still remains silver colored and Windows shaped.

All I need is a combobox exactly as The standard one, except with the ability to set the border to none, and have a picture as a button. Without any silver colored borders around it.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

738 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