Kbase P166502: Cannot change READ-ONLY attribute for browse when focus appears to be on a FILL-IN.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  21/05/2010 |
|
Status: Unverified
SYMPTOM(s):
Cannot change READ-ONLY attribute for browse when focus appears to be on a FILL-IN.
You cannot change the READ-ONLY attribute for <browse-widget> while that browser has focus. (4517)
FOCUS:TYPE reports focus is on a FILL-IN
FOCUS:NAME reports field name used in browse widget
FACT(s) (Environment):
Progress 9.x
OpenEdge 10.x
All Supported Operating Systems
OpenEdge Category: Language (4GL/ABL)
CAUSE:
The FILL-IN widget that has focus is an enabled cell in the browse widget. As long as part of the browse widget has focus, the error 4517 will occur when changing the READ-ONLY state of the browse.
FIX:
To avoid the error 4517, check the FOCUS:PARENT:TYPE = "BROWSE" condition.
This will identify if the FOCUSsed widget is part of a browse, and allows adjusting the focus programmatically, or handling the error condition more gracefully.