StrataFrame Forum

TabOrderController with two tab pages

http://forum.strataframe.net/Topic29644.aspx

By Sam Tenney - 3/4/2011

I have a standard form on which I have two tab pages.  I dropped a TabOrderController on the form and set the tab order on the TabOrderController for all the controls on both tab pages of the form.  I expected the tab sequence to automatically switch from the last control on tab page 1 to the first control on tab page 2 based on the tab order values.  It does not work as expected.  The user must manually select tab page 2 to continue in the tab order.  Any ideas why this does not work as expected?  Any suggestions?

Sam Tenney
By Sam Tenney - 3/9/2011

Bumping to the top
By Ivan George Borges - 3/9/2011

Hi Sam.

This is by design:

Notes on Tab Order Controller Functionality

The following notes are helpful to keep in mind when using the Tab Order Controller:

  • Only visible objects will be included in the tab cycle - Any objects on an invisible panel, or on a non-selected page will not be included in the tab cycle. This allows panel managers or page tabs to be handled easily by assuming only the pertinent set of controls will be included in the tab cycle.
Have a look at this post for a workaround:

http://forum.strataframe.net/FindPost27238.aspx
By Sam Tenney - 3/16/2011

Thanks Ivan.  The workaround solved my problem.

Sam Tenney
By Ivan George Borges - 3/16/2011

Glad it helped, Sam! Cool