Focus in a particular cell of a Matrix
DREAN Sébastien
Hello,Is it possible to make the focus in a particular cell of a Matrix in C# like pVal.Form.ActiveItem for a TextEdit ?
Thanks.
Anders Olsson
Hello Sébastien,You can simulate a mouse click in a cell to put focus in it. In this example focus is set on the second row, Quantity column in a marketing document form:
Matrix matrix = Matrix.GetFromUID(pVal.Form, "38");
matrix.Columns["11"].Cells[1].Click(MatrixColumn.ClickTypes.Regular, MatrixColumn.Modifier.None);
Regards,
Anders Olsson
DREAN Sébastien
Hello Anders,It works fine.
Thanks.
0
Please sign in to leave a comment.
Comments
0 comments