Article View: comp.lang.pascal.delphi.databases
Article #124Combined DBEdit / DBLookupCombo
From: Marc Scheuner
Date: Mon, 18 May 1998 00:00
Date: Mon, 18 May 1998 00:00
22 lines
1723 bytes
1723 bytes
I have the following setup: I have a TDBEdit control to enter a code value, and a TDBLookupCombo that will display the clear text of the codes and select the code (a numerical value) into the same field as referenced by the TDBEdit object. When I enter a value in the TDBEdit and leave the field, the TDBLookupCombo gets updated, as expected, and vice-versa. But how can I get the DBLookupCombo to update *WHILE* I am typing in codes in the TDBEdit? I tried to find a method to "synchronize" these two controls, but even studying the VCL source code didn't reveal any "legal" (i.e. "public") way to do so. Any hints? Marc ------------------------------------------------------------------------ Marc Scheuner marc.scheuner@berner.ch Berner Versicherungen / ISV Tel ++41 31 / 384 5630 Sulgeneckstrasse 19 Fax ++41 31 / 384 5490 CH-3001 Bern, Switzerland ------------------------------------------------------------------------
Technical Details
Message-ID:
<35603e79.28536603@news.bernoise.ch>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: ffff5,e7d952be6847e3ad,start X-Google-Attributes: gidffff5,public X-Google-Thread: 10de66,e7d952be6847e3ad,start X-Google-Attributes: gid10de66,public From: marc.scheuner@no.spam.please.ch (Marc Scheuner) Subject: Combined DBEdit / DBLookupCombo Date: 1998/05/18 Message-ID: <35603e79.28536603@news.bernoise.ch> X-Deja-AN: 354301091 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Reply-To: marc.scheuner@no.spam.please.ch (Marc Scheuner) Content-Type: text/plain; charset=us-ascii Organization: Berner Versicherungen Newsgroups: comp.lang.pascal.delphi.databases,borland.public.delphi.database.sqlservers