Solved

CSSIMPLE COMBOBOX

Posted on 2003-12-07
3
466 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
[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
  • 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

Technology Partners: 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

Suggested Solutions

Title # Comments Views Activity
Convert GUI app into console app for Win32 Env 5 125
Reconfigure Delphi Install? 2 65
TServerSocket - file via sendbuf or Text via sendtext ? 1 76
creating threads in delphi 1 163
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 The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

733 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