---+ .WIDGET COUNT ROWS _This subroutine counts the number of selected rows in a table widget._ <br />%TOC% ---++ Usage: <pre> PASS <count> FIELD SHARE? Y PASS <widget name> FIELD SHARE? N GOSUB --- .WIDGET COUNT ROWS * Check for errors IF --- .WIDGET COUNT ROWS NE </pre> ---++ 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 they single or double click in a table widget. ---++ Comments: _Read what other users have said about this page or add your own comments._ <br /> 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?). -- Main.AlKalter - 2013-06-05 %COMMENT% -- Main.JeanNeron - 2013-05-29
This topic: Main
>
WebHome
>
APPX52BugFixes
>
0LASubrWidgetCountRows
Topic revision: r2 - 2013-06-05 - AlKalter
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback