Question about a TDBLookUpListBox---the OnClick event

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
ashlar

Question about a TDBLookUpListBox---the OnClick event

Post by ashlar » Wed 21 Jun 2006 17:13

This is not really a mydac issue...but I thought someone might know off the top of their head what might be happening.

I have noticed that the OnClick event on a TDBLookUpListBox is fired 3 times with just one click. (A regular listbox doesn't do this) Does anyone know why this might be happening? Is it just a bug? Or is something else going on that I don't know about.



---Dave
:?: :?: :?:

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Thu 22 Jun 2006 12:22

We couldn't reproduse the problem using Delphi 7. To find out what is the reason of the problem try performing following steps:
1) Try to reproduce the problem with any other data access components (ADO, BDE, etc.).
2) Try to reproduce the problem in a newly created application.

ashlar64
Posts: 75
Joined: Thu 04 May 2006 18:56

Post by ashlar64 » Fri 23 Jun 2006 01:23

Well I have tried again. I used a interbase database this time with the same results....with just the database components on the form and nothing else.

I am using borland 6.0 with the latest updates and XP also with the latest updates. I also tried on 2 different computers with the same results.

You did use DBLookupListBox and a DBListBox correct?

Does anyone else with Builder 6 get the same results?

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Fri 23 Jun 2006 09:33

Concerning your test we can say that this isn't problem of MyDAC. Besides, we have never met similar problem. So, you should seek the problem on your side.

Post Reply