Consultor Eletrônico



Kbase 15033: V8 browse method DELETE-SELECTED-ROWS()
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/10/1998
V8 browse method DELETE-SELECTED-ROWS()

With Version 8, there is a new method which can be used with the
browse object -- DELETE-SELECTED-ROWS(). This is typed correctly,
it's ROWS(). Under Version 7, there are two methods for deletion of
a row from a browse: DELETE-SELECTED-ROW() (note it is singular),
which takes an argument indicating the row to be deleted; and
DELETE-CURRENT-ROW() which takes no argument, simply deleting the
row which currently has focus.

The new method DELETE-SELECTED-ROWS() does not take an argument, but
will delete all rows currently selected for the browse widget. This
allows the 4GL developer to programmatically delete all the associated
data records, and then perform a single update to the browse object.
This method eliminates the flashing that sometimes occurs with the
other two methods when deleting multiple rows. It also collapses the
viewport rows more cleanly.

For more information, see the Programming Handbook section entitled
"Deleting Browse Rows" within the "Using the Browse Widget" chapter.

Progress Software Technical Support Note # 15033