2009 Mar 23 10:51 AM
Hello colleagues,
I have 2 checkboxes in 2 subscreens. When I click on the first one the focus is lost (likely there is a logic in PAI or PBO). Then the customer cannot press F1 for this checkbox, because they are already out of the check box.
In the second case when I press the second checkbox, the focus stay on it and customer can press F1 help.
Do you know which code influence the focus?
In both cases there is LOOP at screen in PBO, but the precise checkbox is not influenced.
Kind regards
Radim Benek
2009 Mar 23 11:40 AM
Is 'SET CURSOR FIELD <field name>' used somewhere, or in the attributes of the screen, is the field cursor position set?
Thanks Micky and Thoas for your ideas. Unfortunately I have the problem in teh DYNPRO and not in the selection screen. Do you have other ideas?
Kind regards
Radim
2009 Mar 23 11:40 AM
Is 'SET CURSOR FIELD <field name>' used somewhere, or in the attributes of the screen, is the field cursor position set?
2009 Mar 23 11:45 AM
What Micky said, probably in combination with a USER-COMMAND addition to the PARAMETERS statement that processes PAI and PBO immediately once the check box is clicked.
Thomas
2009 Mar 23 12:17 PM
Thanks Micky and Thoas for your ideas. Unfortunately I have the problem in teh DYNPRO and not in the selection screen. Do you have other ideas?
Kind regards
Radim
2009 Mar 23 12:45 PM
The selection screen is also a dynpro, so the idea still applies, just that the function code is set in the attributes of the dynpro field and not via the PARAMETERS statement. The cursor position might also be set in the attributes of the dynpro, otherwise the first maintainable field has the focus, if there is no SET CURSOR command.
Thomas
2009 Mar 23 12:56 PM
Hello Thomas,
thanks for reply. Unfortunately the set-cursor command is not called at all. And the focus is not lost in the second check box. Which attributes shall I check to set the focus? The checkboxes are in subscreen.
Kind regards
Radim
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |