Forum > LCL

Interesting discovery with TListView with OwnerData checked and Adding items.

<< < (2/3) > >>

jamie:
I am not sure if the ondata event is even working?

dsiders:

--- Quote from: wp on March 18, 2024, 11:09:16 am ---I don't like the Beep. Is a Beep used within the IDE anywhere else?
--- End quote ---

Not in the IDE specifically, but in LCL bring-to-front flash-and-beep behavior.


--- Quote from: wp on March 18, 2024, 11:09:16 am ---And I'd also replace the Application.MessageBox by MessageDlg even it if makes the unit depend on the Dialogs unit. But Dialogs is used already by PropEdits. So, this should not make a difference. Or am I missing something?
--- End quote ---

No, you're not missing anything. I just took the path of least resistance.

dsiders:

--- Quote from: jamie on March 18, 2024, 01:23:35 pm ---I am not sure if the ondata event is even working?

--- End quote ---

If it's not, then how are you getting values for from the virtual data container?

wp:

--- Quote from: jamie on March 18, 2024, 01:23:35 pm ---I am not sure if the ondata event is even working?

--- End quote ---
Here's a demo with 1,000,000 items in a virtual listview.

wp:

--- Quote from: dsiders on March 18, 2024, 04:47:01 pm ---
--- Quote from: wp on March 18, 2024, 11:09:16 am ---I don't like the Beep. Is a Beep used within the IDE anywhere else?
--- End quote ---

Not in the IDE specifically, but in LCL bring-to-front flash-and-beep behavior.


--- Quote from: wp on March 18, 2024, 11:09:16 am ---And I'd also replace the Application.MessageBox by MessageDlg even it if makes the unit depend on the Dialogs unit. But Dialogs is used already by PropEdits. So, this should not make a difference. Or am I missing something?
--- End quote ---

No, you're not missing anything. I just took the path of least resistance.

--- End quote ---
OK when I commit it?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version