Hi James,
I made a simple test and the OnClick event fires OK - regardless of Style.
> When style = csDropdownList the underlying data is not visible
Here, the data in the underlying column is probably not in the Items list of
the combobox so won't appear.
Regards,
John
-----Original Message-----
From: James Low [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 31 July 2001 6:35 am
To: Multiple recipients of list delphi
Subject: [DUG]: DBCombobox - OnClick don't click
Simple problem - I have a DBCombobox connected properly to a
datasource/dataset containing one record. All I want to do is trap an
onClick event on this control but it just does not fire. When style =
csDropdownList the underlying data is not visible, when style = CSDropdown I
can see the record I am interested in. In both cases, no onClick fires no
matter what I do (space, escape, remove the control from its container etc).
Guess I am missing something fundamental but have no idea what? This is D5
Pro and I am running from within the IDE.
Some help would be appreciated - cheers.
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/