Solved

editing a DBLOOKUPCOMBOBOX

Posted on 2000-02-22
4
389 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
find a node in VST 2 73
JAudiorecorder record freezing the app 29 76
CheckListBox usage 3 71
Not able to call Delphi XE10 dll function from Delphi 6.0 4 37
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
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…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

837 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