Planet PDF Forum Planet PDF Forum
  New Posts New Posts RSS Feed - List Box -SetFocus
  FAQ FAQ  Forum Search   Register Register  Login Login


Hi, welcome to the Foxit Planet PDF Forum. If you have PDF or Adobe Acrobat questions then the right place to ask them is here, in this forum.

List Box -SetFocus

 Post Reply Post Reply
Author
akku View Drop Down
New Member
New Member


Joined: 14 May 2013
Points: 2
Post Options Post Options   Quote akku Quote  Post ReplyReply Direct Link To This Post Topic: List Box -SetFocus
    Posted: 14 May 2013 at 8:34pm
I found one unpleasant thing with setting focus for List Box
just after pressing any list item by KeyBoard (!!!)-this field is loosing focus and simple adding setFocus command for Mouse-up Action (valid for keyboard) is not succesful
Loosing focus little bit particular -we dont have dashed frame around field and Home and End keys (or lef and right arrows) are Dead
Nevetherless -Up and Down keys are alive

Please help -if you have ant idea to avoid this

Ps If you just and setFocus on another field +alert before unworking setting focus (see above) -it become alive (!!)
May any idea to replace alert by something )))Untitled.pdf
Back to Top
Sponsored Links


Back to Top
gkaiseril View Drop Down
Senior Member
Senior Member


Joined: 15 Jul 2011
Location: USA
Points: 4106
Post Options Post Options   Quote gkaiseril Quote  Post ReplyReply Direct Link To This Post Posted: 14 May 2013 at 10:01pm

A script runs until it processes all of the code. If an alert pops up, the script waits for an answer and continues to run the script.

You script for the live field jump to another field, pops up an alert, and then returns to the live field. Comment out the last line an the cursor will stay at the  temp field.
Back to Top
akku View Drop Down
New Member
New Member


Joined: 14 May 2013
Points: 2
Post Options Post Options   Quote akku Quote  Post ReplyReply Direct Link To This Post Posted: 15 May 2013 at 6:26pm
Some type of solution is found
Last line in routine for Mouse Up is setting focus on another field
This another field setting focus back to initial ListBox on "Focus On"
It works!
See attachment Solution_for_backing_focus.pdf
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.10
Copyright ©2001-2017 Web Wiz Ltd.

This page was generated in 0.016 seconds.