Kbase 15838: How to Select All Items in a Multiple-Selection, Selection List
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  3/8/2005 |
|
Status: Verified
GOAL:
How to Select All Items in a Multiple-Selection, Selection List
FACT(s) (Environment):
Progress 8.x
Progress 9.x
OpenEdge 10.x
FIX:
The following code shows how to select all items on a multiple selection list. However the code will not work if the List-Item-Pairs property is switched on or the multiple-selection property is switched off.
The key to remember is that the list of selected items is stored in SCREEN-VALUE as a comma delimited list. The code:
select-1:SCREEN-VALUE = select-1:LIST-ITEMS.
To de-select all items on the multiple selection list, use:
select-1:SCREEN-VALUE = "".