cancel
Showing results for 
Search instead for 
Did you mean: 

IWDDropDownByIndex and requestFocus()

Former Member
0 Kudos

Hello all,

I'm able to requestFocus() on any UIElement in my view except those that are IWDDropDownByIndex objects.

Is there a known problem requesting focus for IWDDropDownByIndex objects?

Any help is appreciated,

Patrick.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi patrick,

I think so requestFocus() is undefined for the IWDDropDownbyIndex.Its a constructor that should be defined inside the method.

Regards,

Nagarajan.

Former Member
0 Kudos

Hi Nagarajan,

requestFocus() is inherited from IWDViewElement.

It works for the other IWDUIElement objects that I've used it on... it's really strange that it doesn't work on IWDDropDownbyIndex objects.

Right now I'm just converting all IWDDropDownbyIndex objects to IWDDropDownbyKey objects so that I can request focus on them.

It's not great fun but it'll work.

Thanks for your input,

Patrick.