EditTable Cookbook - Selecting and deselecting rows
Published 12 JUL 2010 at 11:14:00AM by Captain C
There's a quick way to select or deselect all rows in a multi-select edit table, and that's via the DTM_SELALLROWS message. It takes a single wParam argument which is TRUE$ to select all rows, or FALSE$ to deselect them.
Here's an example:
$insert logical equ DTM_SELALLROWS$ to 1085 ; * // ( WM_USER + 61 ) hwndEdt = get_Property( @window : ".TABLE_1", "HANDLE" ) * // Select all rows…. call sendMessage( hwndEdt, DTM_SELALLROWS$, TRUE$, 0 ) * // Deselect all rows…. call sendMessage( hwndEdt, DTM_SELALLROWS$, FALSE$, 0 )