i tried to make that
LockCLV=True
Add50ItemToList
LockCLV=False
Sub CLV_VisibleRangeChanged (FirstIndex As Int, LastIndex As Int)
if LockCLV=True then return
but CLV_VisibleRangeChanged event fired after I finish adding items
it fires many times for each visible item
CLV_VisibleRangeChanged(0,1)
CLV_VisibleRangeChanged(0,2)
CLV_VisibleRangeChanged(0,3)
CLV_VisibleRangeChanged(0,4)
........
CLV_VisibleRangeChanged(40,50)
the following code is working but I'm looking for the best approach
LockCLV=True
Add50ItemToList
sleep(50)
LockCLV=False
also if it was possible to disable xCLV drawing for each item and draw once after adding all items i think it will be much faster