Hello Community.
I found a small bug in that conponent (TBaseVirtualTree, TVirtualStringTree, mb also in TVirtualDrawTree).
OnGetImageIndexEx event won't work, if images property of the component is empty.
Reproduce:
1. Drop component. assign event, set break on begin. Run. Application will run.
2. Reset debugger, drop TImageList, attach it to Images property of the component, Run. Debugger will stop app on your break.
Why it's a bug:
1. Event OnGetImageIndex make's possible get images by it's index from TImageList which is attached to Images property.
2. Event OnGetImageIndexEx make's possible get images by index from any other TImageList that's may be not linked directly with component.
I think, Event 2, must be called always, it it assigned.