Kbase P130363: The selectPage procedure fails to switch to a page until the user manually selects the page first fo
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/04/2008 |
|
Status: Unverified
FACT(s) (Environment):
OpenEdge 10.1C
Windows
SYMPTOM(s):
SmartBrowse on page 0 has value changed trigger attached
The value changed trigger looks at the selected row then invokes selectPage to view the desired SmartBrowse on a non-zero page
The selectPage call appears to do nothing
The selectPage only works after the pages other than page 0 are manually selected by the user via the SmartFolder tabs
CAUSE:
The application has an override for the viewObject procedure and that procedure invoked initPages for all the non-zero pages. This caused the problem because initPages should only be invoked one time (in normal applications).
FIX:
Move the initPages call from the viewObject procedure to the initializeObject procedure after the RUN SUPER statement.