Problem to focus a subfile field

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
gbroggi
New User
Posts: 6
Joined: Wed May 14, 2014 5:27 am
First Name: Giovanni
Last Name: Broggi
Company Name: Arturo Salice SPA
Country: Italy
Contact:

Problem to focus a subfile field

Post by gbroggi »

Hello everybody,

I have a subfile grid with input fields on each line.
In 5250 mode my RPG detects through INFDS data structure the position of the cursor and if you press F11 an help or search panel is shown based on the field contents.
In the converted DDS web page I added a search button for each grid field I want help to be invoked.
I kept the row and column cursor proprieties as converted by the tool and I added a script to the onclick event of the search button, trying to focus the related input field and submit F11 keypress to the RPG.
The script doesn't work: I'm not able to focus the subfile field.

Please find attached my script and some more details.

Thank you very much in advance for your help.

Giovanni Broggi
Attachments
Focus.docx
Example details
(334.08 KiB) Downloaded 64 times
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest