Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-04

TListview and Ubuntu x64

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Andrew Brunner

I'm encountering a problem that I don't recall having before. TListview at least under Ubuntu 10.04 dev (latest)

Selecting an Item triggers onselectItem event One time having Nothing selected before :
And having Selected and Item.Selected in the states come back as being true

Selecting another Item triggers Three OnSelectItem events. The old one is marked as selected
and the new one is marked as Selected=false

I can't access the FState field. Can someone please remedy this problem?!? If you are wanting to get
notifications on OnItemChange taht's one thing.. But all these events on OnSelectItem is not acceptable
and is making the OnSelectItem useless and thereby the entire TListView component (at least under Ubuntu).

Any reason why this was changed? Is there any discussion before these changes occur?

Reply by email

Paul Ishenin
to Andrew Brunner

28.04.2010 9:56, Andrew Brunner ?????:

I'm encountering a problem that I don't recall having before. TListview at least under Ubuntu 10.04 dev (latest)

What lazarus version do you use?

Selecting another Item triggers Three OnSelectItem events. The old one is marked as selected and the new one is marked as Selected=false

Definetly a bug. Please report with an example project.

Any reason why this was changed? Is there any discussion before these changes occur?

No, you have found a bug. A good test example and a bug report in our bug tracking system will help to fix it.

Best regards,
Paul Ishenin.

Reply by email