Solved

CSSIMPLE COMBOBOX

Posted on 2003-12-07
3
464 Views
Last Modified: 2010-04-03
Dear friends,

I am loading a textfile ina combobox (cssimple). I would like give to the user the right of writing a word/string in the "editbox" part of this type os combobox, in such way in the fixed list underneath the word
(if there is) will be highlighted!

Thank you in advance,


letchev
0
Comment
Question by:letchev
  • 2
3 Comments
 
LVL 2

Expert Comment

by:odissey1
ID: 9894636
Hi  letchev,

This is not a solution, but... I was working with TBXToolbar (www.g32.org) for a while. There are a number of controls including edit, combo etc. The good thing for you that there are Themes that you can write yourself/customize howto paint each control at repaint event. So, basically, if you provide a 'blended backgroung' or if you do not paint certain areas, then you will get blended/transparent control. The only thing you have to tweak/rewrite is YouCustomTheme.pas file (there are a lot of examples in a forum). Now hard part: typical Theme weights approx. 100 KB!

ragards,
odissey1
   
0
 
LVL 5

Accepted Solution

by:
delphized earned 30 total points
ID: 9896940

procedure TForm1.ComboBox1Change(Sender: TObject);
var
  idx:Integer;
begin
  idx:=ComboBox1.items.IndexOf(ComboBox1.text);
  if (idx>=0) and
     (ComboBox1.ItemIndex<>idx) then
  begin
    ComboBox1.ItemIndex:=idx;
    //TO SEE THE SELECTION THE USER MUST MOVE UP OR DOWN
  end;

end;
0
 
LVL 2

Expert Comment

by:odissey1
ID: 9898023
Oups!
sorry, my post was going to another thread, disregard.

odissey1
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

919 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

12 Experts available now in Live!

Get 1:1 Help Now