I should also say I'm using TAdvCheckedTreeView version 220.127.116.11 and Delphi Seattle. The error only shows up in 32 bit mode, not 64 bit mode.
....seen this error in TAdvTreeview in the past under Delphi Berlin. In the last Versions the error is gone.
I've just updated everything. The version of TAdvCheckedTreeView hasn't changed (i.e. 18.104.22.168) and the error is still present.
We could reproduce this and we're investigating. It appears to be related to the ExpandAll call (not sure why you do this though as in this case there aren't child nodes?)
Thanks Bruno - the "Argument out of Range" error occurred on a 64 bit Windows machine.
I've investigated further. It seems the "expand" commands don't work inside the "BeginUpdate" and "EndUpdate" sections.
I overlooked it but expand/collaps calls should indeed not be within a BeginUpdate/EndUpdate block.