on 2006 Dec 29 5:55 AM
Hi,
I have 3 buttons in a Transparent Container. How do i make one the default button.There is a property called defaultButtonId for the Container. Would this be of Help ?
Regards,
Murali.
Hi Murali,
Why dont you use the defaultButtonId property of Transparent Container and try out?
Regards,
<i><b>Raja Sekhar</b></i>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Thomas,
How can i bring focus to an Input field. The property mentioned is defaultButtonId. I just have a transparent container with 3 buttons. I gave a particular button id as value to the proprty of defaultButtonId of the Transparent container. I am not able to see any focus being set at all. Have you tried this before.
Regards,
Murali.
Hi Sergio,
I am trying to set focus to a button in a Container. Generally in AbstractPortalComponent/JSPDynpage/HTMLB we have the option to make one buton on the screen as the default button. So whenever the user hits the Enter key, the action attached to that button is fired. I am just trying to simulate this in WDA.
Regards
Murali.
As Thomas said : "If so, if you place the cursor inside and press enter, will a roundtrip be triggered?"
What you can do is:
- define a default button for a transparent container
- run the application
- click in the transparent container area (it is transparent but you should know where it is and how big it is)
- you will see that the default button will be focused
- press the space bar
Maybe it is not exactly what you are looking for but it is how it works,
Sergio
User | Count |
---|---|
63 | |
10 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.