At present the Details WebRoutine has no control over whether the Details or Skills tab is redisplayed. This can easily be achieved by introducing a field that is mapped to set theĀ tab_index property.
Define Field(#tabindex) Type(*char) Length(1)
Web_Map For(*both) Fields((#empno *hidden) (#tabindex *hidden))
When = D | #Tabindex := '1' |
When = U | #Tabindex := '1' |
When = N | #Tabindex := '2' |
When = S | #Tabindex := '2' |
Note: This is a limited implementation, using simply the tab_index_field property. Using a hidden Nav Panel on each tab page, it is possible to return current tab index to a WebRoutine. This allows a design which supports selecting a different employee and always displaying the last tab page used (Details or Skills). |