Difference: 0LASubrWidgetCountRows (1 vs. 2)

Revision 22013-06-05 - AlKalter

Line: 1 to 1
 
META TOPICPARENT name="APPX52BugFixes"

.WIDGET COUNT ROWS

Line: 20 to 20
  <widget name> is the name of the table widget (Required).
Changed:
<
<
This is a quick way to determine how many rows the user has selected when the single or double click in a table widget.
>
>
This is a quick way to determine how many rows the user has selected when they single or double click in a table widget.
 

Comments:

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

Changed:
<
<

<--/commentPlugin-->
>
>

This is a nice way to ensure that multiple rows aren't selected when you only want to process one record. A nicer future enhancement would be a field in the Widget file to allow or disallow multiple selections (WIDGET MULT ROWS OK?).

-- AlKalter - 2013-06-05

<--/commentPlugin-->
  -- JeanNeron - 2013-05-29

Revision 12013-05-29 - JeanNeron

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="APPX52BugFixes"

.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.


<--/commentPlugin-->

-- JeanNeron - 2013-05-29

 
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