Excluding Text fields from tab order (OpenInsight 32-Bit)
At 10 SEP 2007 08:23:50AM Martin Drenovac wrote:
How do you set Text fields on a form from being in the Tab Order?
At 10 SEP 2007 01:27PM dbakke@srpcs.com's Don Bakke wrote:
Martin,
Use the NEXT and PREVIOUS properties to manipulate the tab order of your controls.
dbakke@srpcs.com
At 11 SEP 2007 04:52AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
To expand on Don, you'll need to set each control surrounding the one you want to skip so that they have a previous/next in the correct order. So, assuming these controls:
CONTROL_1
CONTROL_2
SKIPME_3
SKIPME_4
CONTROL_5
You'll need to set the NEXT property of CONTROL_2 to CONTROL_5 and the PREVIOUS property of CONTROL_5 to CONTROL_2
pre.code {
background-color: #E5E5E5;border: 1px solid #000000;width: 650px;padding: 5px;font-family: courier, verdana, arial, serif;margin: 0px 10px auto;}
objxArray=@WINDOW : '.CONTROL_2' propArray=NEXT' dataArray=@WINDOW : '.CONTROL_5' objxArray := @RM : @WINDOW : '.CONTROL_5' propArray := @RM : 'PREVIOS' dataArray := @RM : @WINDOW : '.CONTROL_2' unused = set_property( objxArray, propArray, dataArray )World leaders in all things RevSoft
At 12 SEP 2007 09:25AM Gray Cunningham wrote:
I am probably stating the obvious, but make sure that you use the correct spelling of the word "PREVIOUS" in 6th line of Sprezz's code.
At 12 SEP 2007 10:20AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
, whoops!
World leaders in all things RevSoft
At 12 SEP 2007 10:23AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
That's what happens when you type code off the top, and not cut&paste from an application. Now, when we finally release that autoVNAV Firefox add-on…..
World leaders in all things RevSoft
At 12 SEP 2007 10:31AM Gerald Lovel wrote:
And to expand even farther, the text fields could be moved to the end of the tabbing order. Then on the last edit control the NEXT property should be set to the first edit control, and on the first edit control, set the PREVIOUS property to the last edit control.
This is most useful when using paged forms with a tab control. Setting NEXT and PREVIOUS as described on each page keeps the tabbing within the current page.