Home > Back-end >  XE3 have a suspected BUG again, about the CustomListBox.
XE3 have a suspected BUG again, about the CustomListBox.

Time:10-27

In XE3 example, samples \ CPP \ FireMonkey \ CustomListBox following this example, compile directly after open, and inside the interface using the add the from file button to add Item ListBox, there have been added to the scroll bar to add a few, and then you drag the scroll bar, or use the mouse wheel rolling Items, you will find some Item leave visual range and then roll back their StyleData additions are lost, if reoccupy add the button to add some 1000, those who use file to add the Item will slowly all data,
In source code as you can see the add by code and add the from file is using different methods, by code this method do not have this phenomenon,
Why is that?

CodePudding user response:

refer to the original poster hgr2004 response:
in XE3 example, samples \ CPP \ FireMonkey \ CustomListBox following this example, compile directly after open, and inside the interface using the add the from file button to add Item ListBox, there have been added to the scroll bar to add a few, and then you drag the scroll bar, or use the mouse wheel rolling Items, you will find some Item leave visual range and then roll back their StyleData additions are lost, if again...
attention

CodePudding user response:

Is really strange, what event is triggered?

CodePudding user response:

Just test, Item rolling back viewing area, indeed triggered OnApplyStyleLookup events, further inspection, I wonder whether there are any improvement inside the new Update? The next out to give it a try and see,
  • Related