Solved

editing a DBLOOKUPCOMBOBOX

Posted on 2000-02-22
4
384 Views
Last Modified: 2010-04-04
how can I saw that the user is writing on a dblookupcombobox,,,,,,is it impossible..................?.................can you tell me a propierty..or a method that let me see the letteres that user is typing...........
I'm in a hurry
0
Comment
Question by:Iamme
  • 2
4 Comments
 
LVL 8

Accepted Solution

by:
ZifNab earned 25 total points
ID: 2547513
Hi Iamme,

procedure TForm1.DBLookupComboBox1KeyPress(Sender: TObject; var Key: Char);
begin
 showmessage(key);
end;

Regards, Zif.
0
 
LVL 17

Expert Comment

by:inthe
ID: 2547529
hi,
i would use
procedure TForm1.DBLookupComboBox1KeyPress(Sender: TObject; var Key: Char);
begin
 Label1.Caption := DBLookupComboBox1.Text;
end;

as using the showmessage(key) will only show the last pressed key .
0
 
LVL 8

Expert Comment

by:ZifNab
ID: 2548328
Hi Inthe,

The thing is Iamme, asked for a method to see the letters a user is typing. So I pointed to the keypress event. The showmessage was just a way to show that it intercepted the keypress of the user.

Iamme hasn't told what he wants to do with the event, therefor this stupid example.

Zif.
0
 

Expert Comment

by:Pandian012000
ID: 2549417
Hi Iamme

  you can try this

  place a label next to dblookupcombo box

  in the exit event of dblookupcompo box write this

  label.caption := dblookupcompoboxname.text;

  will it ok for you

Regards

pandian  
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

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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

744 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