Solved

CSSIMPLE COMBOBOX

Posted on 2003-12-07
3
468 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

Industry Leaders: 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

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…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

726 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