GetParAtXY in Table

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

    1. pt := Mouse.CursorPos;
    2. pt := vEd.ScreenToClient(pt);
    3. vEd.Memo.GetParAtXY(pt.X, pt.Y, actPar, p);
    4. 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!