on 02-28-2011 8:07 AM
Hi,
I have implemented OVS help for 4 of my input fields.
Fetching the data and showing the help values in a pop window is working fine.
My problem is that once I press F4 help in FIELD1 and select a record, and placing the cursor in FIELD2,
its again going back to FIELD1. I am again placing the cursor in FIELD2 second time then it is retaining there.
So every time I press F4 help and going for second field, cursor is coming back to previous field where I pressed lass F4.
Please suggest.
Regards,
Kusuma
Hi,
do i understand you correctly that
from field-1 you press f4,from popup select a value, popup closes,selected value appears in field_1
you change the filed focus from filed_1 to field_2 but then it automatically goes back to filed_1.
Few theory comes in mind.
1. you are too quick in changing the focus while to round trip and rendering is not yet completed,so the runtime bring the focus back to the field_1.
2. In your source, some where you have request _focus for this context attribute but then it is not clear to me why it works only one time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
There are 2 methods available to request focus on UI element.
1.REQUEST_FOCUS from the view controller
2. REQUEST_FOCUS_ON_VIEW_ELEM method from if_wd_view
when the f4 help is still on completing, 1.REQUEST_FOCUS from the view controller would be called by the runtime. This was my first theory.
second one is that in the view, in wddomodify or in other methods, this call is happening happening to set the focus manually based on some condition.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.