Solved

Combobox looking for...

Posted on 1998-07-23
3
170 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
3 Comments
 
LVL 4

Expert Comment

by:erajoj
Comment Utility
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
Comment Utility
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
Comment Utility
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

762 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now