.WIDGET COUNT ROWS

This subroutine counts the number of selected rows in a table widget.


Usage:

      PASS         <count>                    FIELD            SHARE? Y
      PASS         <widget name>              FIELD            SHARE? N
      GOSUB    --- .WIDGET COUNT ROWS
      *        Check for errors
      IF       --- .WIDGET COUNT ROWS         NE

Description:

This subroutine counts the number of selected rows in a table widget. All parameters are required, the subroutine will cancel if any are missing.

<count> is the count of selected rows returned to you (Required). This must be PASSed with Share "Y" to return the value.

<widget name> is the name of the table widget (Required).

This is a quick way to determine how many rows the user has selected when the single or double click in a table widget.

Comments:

Read what other users have said about this page or add your own comments.


-- JeanNeron - 2013-05-29

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2013-05-29 - JeanNeron
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback