third_party_content:sprezz_blog:15534.4680555556

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 )

Comments

Original ID: post-8577792648679522816
  • third_party_content/sprezz_blog/15534.4680555556.txt
  • Last modified: 2024/01/17 19:45
  • by 127.0.0.1