Sends this message to a table window when the user tries to tab past the last editable cell. You can use this message to automate row insertion. When the window receives this message, add a blank row to the window. By default, this message returns FALSE, which selects the current row. Return TRUE to prevent this behavior. Message Variables hWndForm Window handle of the table window. hWndItem Window handle of the table window. wParam Unused. IParam Table window context row that the user is trying to tab away from (first row is 0, second row is 1, and so on) Example On SAM_EndCellTab If IDYES = SalMessageBox( "Move to next row", "What Do You Want to Do?', MB_IconQuestion | MB_YesNo ) Set nNewRow = SalTblInsertRow( hWndTbl, TBL_MaxRow ) Call SalTblSetFocusCell( hWndTbl, nNewRow, col1, 0, 0 ) Return TRUE Else ! Null leg: ! If we don't explicitly return a value, returns ! FALSE and se

Namespace: PPJ.Runtime
Assembly: PPJ.Runtime.2 (in PPJ.Runtime.2.dll) Version: 2.0.1044.0 (2.0.1044.5276)

Syntax

C#
public const int SAM_EndCellTab

See Also