Solved

CSSIMPLE COMBOBOX

Posted on 2003-12-07
3
462 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
Comment Utility
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
Comment Utility

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
Comment Utility
Oups!
sorry, my post was going to another thread, disregard.

odissey1
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

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

7 Experts available now in Live!

Get 1:1 Help Now