on 03-25-2008 8:49 AM
Hi Friends,
I have a small issue over setting the Cursor to the Input Field when i click a Pop Up Window in which i have an OK Button.
I am unable to place the Cursor in the Input Field.
For example if i have two I/P fields and i just entered one field and clicked on execute i get a Pop Up message asking me to fill the second one too.
Now my requirement is such that when i click OK button the cursor must be placed in the I/P field.
How is this possible?
Please let me know.
Thanks and regards,
Chandrashekar.
Hi,
You can give a try by using the following code
IWDAttributeInfo attributeInfo = wdContext.getNodeInfo().getAttribute("Your attribute");
wdThis.wdGetAPI().requestFocus(wdContext.currentContextElement(), attributeInfo);
Method :void requestFocus(IWDNodeElement nodeElement, IWDAttributeInfo attribute)
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
On Ok action just use the requestFocus() method for the second inputfield.
thanks & regards,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.