GetParAtXY in Table

  • HEllo
    I have a table with 6 columns, i use following code

    Code
    pt      := Mouse.CursorPos;
    
    
            pt      := vEd.ScreenToClient(pt);
            vEd.Memo.GetParAtXY(pt.X, pt.Y, actPar, p);
            wpFld   := vEd.FieldGetInPar(actPar, p);


    to locate the EditField where the mouse is, but the GetPArAtXY returns in the table the incorrect position, allways, the last Column.
    Outside the table it works as it should!