Expand my Community achievements bar.

xfa.host.openList

Avatar

Level 2

Hi everyone.  I am using this in the "enter" event for my dropdown list:

xfa.host.openList("Dropdown2");

When I tab onto that field, the list does open but only for a quick second and then closes.  Does anyone know how I can make this list stay open?

Putting that code in the MouseEnter event works too but that will not work if I'm using "tab".

Thanks so much in advance!

5 Replies

Avatar

Level 4

You can use the same code on 'initialize' event.

Avatar

Level 2

Thank you so very much for your response however placing the code in the "initialize" event causes the same issue.  The drop down list will open for a split second and then close.  Any other assistance would be GREATLY appreciated.

Avatar

Level 4

Here i'm talking about the form's initialize event, not dropdown's initialize event.

Avatar

Level 2

In theory, wouldn't that keep the dropdown box open the entire time the form is being viewed?

Avatar

Level 4

As soon as you will select any other component, dropdown will close automatically.