advTreeView.XYToColumnSize is always -1

I am a novice to TAdvTreeView .
I put the following code in the OnMouseDown event.
XYToColumnSize is always -1, why?
I want to get that what Column be clicked.


var
  vIdx: Integer;
begin
  if not (Button in [mbLeft]) then
    Exit;


  vIdx := atvBrowse.XYToColumnSize(X, Y);
  if vIdx <> -1 then
    ShowMessage( FTypeStrs.Strings[vIdx-1] );
end;


thank

Hi, 


Please use the XYToColumn function instead. The XYToColumnSize is to detect the edges in order to start a resize operation.

Hi 


No XYToColumn Function



Thank

Hi, 


Sorry for the confusion. The XYToColumnSize will be available in the next release. We are currently working on an update that will have this included.