CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

TIWCGJQDropDown is skipped in the .TabOrder?

by ScottWGast » 02 Sep 2014 22:39

I've a few TIWCGJQEdit components along with a couple TIWCGJQDropDown components on a form.

Although I have set the .TabOrder .TabIndex and .TabStop properties on the TIWCGJQDropDown components, when I tab through the edits at runtime, the TIWCGJQDropDown components are skipped right over.

Thanks,
Scott
ScottWGast
 
Posts: 875
Joined: 23 May 2012 11:02

by dfields » 02 Sep 2014 23:56

I just encountered this same problem with a memo component. It gets skipped in the TabOrder no matter what settings I change. I get the same behavior wether I use a memo from CGDev or the standard TIWMemo.
dfields
 
Posts: 130
Joined: 24 Jul 2013 20:14

by ScottWGast » 03 Sep 2014 01:32

Yeah, methinks that the whole tab order / tab stop / tab index scenario is a bit screwy; I don't think it's CG's fault, but the underlying IW code.

I have a few TIWCGJQEdit components with a TIWCGJQMemo in their midst and it seems to be working ... for those components.

I assume that you have set .TabIndex and .TabStop = True and set the .TabOrder = some appropriate integer value, right?

I did have a bit of luck when I right click the form and use the Tab Order option to sort out the proper order.

HTH,
Scott
ScottWGast
 
Posts: 875
Joined: 23 May 2012 11:02

by dfields » 03 Sep 2014 02:48

I did play with those properties to limited success. I forgot about the Tab Order option in the context menu. I will try that as well. Don't forget that option is also available for regions.

My bet would be on an underlying IW issue as well. This happened a few years back, but it got fixed quickly.
dfields
 
Posts: 130
Joined: 24 Jul 2013 20:14

by Jorge Sousa » 03 Sep 2014 10:02

Hello

I'm sorry but we cannot reproduce this issue with both DropDown or MemoEx

TabOrder simple determines the order in which controls are rendered.

Additionally, cgdevtools added the TabIndex flag to render the html attribute tab index: http://www.w3schools.com/tags/att_global_tabindex.asp

The only role of Intraweb or cgdevtools is to render the controls in the proper TabOrder and if TabIndex=True add the attribute,

Can you submit a testcase please? t.i.a.
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by ScottWGast » 03 Sep 2014 14:12

No worries, CGDev...

I was able to resolve the tab order issue after ensuring that each control had .TabIndex .TabOrder and .TabStop set properly and using the right-click menu to set the Tab Order of the components.

Thanks,
Scott
ScottWGast
 
Posts: 875
Joined: 23 May 2012 11:02

by Jorge Sousa » 03 Sep 2014 14:22

Hi Scott

Thats a bit of a relief, because there is nothing we can do more than setting the tabindex attribute (setting TabIndex := True), besides the render order (which in our opinion should be optional, because the global html attribute is enough).

Actually there was one thing that could be done: attaching js code to onblur (onexit), but this would be very complicated. the html TabIndex attribute is what must be used.
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by ScottWGast » 03 Sep 2014 14:32

Do all of the CGDev (visual) components default .TabIndex = True?
I think that would help...

Scott
ScottWGast
 
Posts: 875
Joined: 23 May 2012 11:02

by Jorge Sousa » 03 Sep 2014 14:39

Hi Scott

Yes, but we cannot change the default value now, because of legacy, and breaking the existing code.
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58


Return to JQDropDown

Who is online

Users browsing this forum: No registered users and 2 guests

Contact Us.