I'm working on an adopted PowerBuilder app that does the following steps in a window:
Inserts a new row (insert is triggered from menu item)
Validates mandatory fields of the new row before save
Returns a message if there is missing info
Returns to the insert screen with focus on the failed validation object
All other windows in the app do this fine, but this new window (which has several bugs) will not hold the object focus after the validation message - it focuses on the 1st object (which has correct data) instead. During debug, the focus is on the object that failed validation, then somewhere during the last steps it loses it's setting - this is where maybe a suggestion could come in (i.e. what attribute should I check for).
There is an incredible amount of behind the scene work redrawing 18 tab selection windows - making it difficult to figure good breakpoints. Haven't recognized a pattern of the good windows vs. this new window so following the good guys hasn't helped.
Any thoughts, suggestions?