Kbase P135407: How to initialize static selection list at run time
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  13/11/2008 |
|
Status: Unverified
GOAL:
How to initialize static selection list at run time
GOAL:
How to set the initial value for a static selection list at run time
GOAL:
How to highlight a list item in a selection list programmatically
FACT(s) (Environment):
All Supported Operating Systems
Progress 8.x
Progress 9.x
OpenEdge 10.x
FIX:
To select any list item in a static selection list when the item to be selected is not known until run time, set the SCREEN-VALUE attribute of the selection list to the appropriate value after enabling the selection list. Depending on the information supplied, assign the list item value itself (it must exist in the selection list):
slMySelectionList:SCREEN-VALUE = "myvalue".
or assign using the index number of the list item:
slMySelectionList:SCREEN-VALUE = slMySelectionList:ENTRY(iMyItemNumber).