I had an issue where user wanted a specific tab order in the sales
order entry form. I dutifully went through and set the tab order to
every entry control on the tab in customization. When saved and
opened, the fields tabbed through just like original un customised
form....
I concur, that sometimes in some forms, regardles of what *YOU* set
the properties to be, the undelying code for the form makes them
useless.
In desperation, I took a brute force approach. I mirrored every
control that got tabbed to, and set the tab stop property to false in
code. Even that got reset, so I made an event handler for each
control and set the tab stop to false if tab stop changed and was
true.
Finally it works the way *WE* want it to...
You should be able to mirror (set a reference to the base form field)
and then use the focus() method to position the cursor there in your
button click event.....
Good Luck
--- In vantage@yahoogroups.com, Robert Brown <robertb_versa@...>
wrote:
by clicking on an object in customization mode and looking at its
properties panel. One editable property that can be saved via
customization (and perhaps personalization as well) is the tab
sequence number property.
happens to the your button.
field on screen as the last step in the sub.
mouse activities upon being triggered.
there to drop support of common (to MS-VB & MS-VbScript) objects and
functions that would make your task a snap:
might also try putting .Activate or .Select after, instead of before,
your control object name.)
want: myobject.GetFocus, etc.,
does it's code, I'd like for it to jump to a specific field on the
screen. Or perhaps I'm making it overly complicated and I just need
to set the button to tabseq 1 and the field to tabseq 2, but I
believe it doesn't appear to tab anywhere after I push the button.
upon the form.
the behavior.
order entry form. I dutifully went through and set the tab order to
every entry control on the tab in customization. When saved and
opened, the fields tabbed through just like original un customised
form....
I concur, that sometimes in some forms, regardles of what *YOU* set
the properties to be, the undelying code for the form makes them
useless.
In desperation, I took a brute force approach. I mirrored every
control that got tabbed to, and set the tab stop property to false in
code. Even that got reset, so I made an event handler for each
control and set the tab stop to false if tab stop changed and was
true.
Finally it works the way *WE* want it to...
You should be able to mirror (set a reference to the base form field)
and then use the focus() method to position the cursor there in your
button click event.....
Good Luck
--- In vantage@yahoogroups.com, Robert Brown <robertb_versa@...>
wrote:
>would cycle you through all visible objects on the form. That is done
> I misunderstood your original email entirely.
>
> I thought you simply wanted to set the sequence that TABbing
by clicking on an object in customization mode and looking at its
properties panel. One editable property that can be saved via
customization (and perhaps personalization as well) is the tab
sequence number property.
>fires off when some event like MouseClick(), Enter(), GotFocus()
> Now I get it. You have a custom button and a Subroutine that
happens to the your button.
>then you want to ChangeFocus() from the button to some other specific
> The subroutine does some processing based upon you code - and
field on screen as the last step in the sub.
>product as it intended to automatically do repetitive key board &
> This would be a 3 second exercise with an MS-VbScript enabled
mouse activities upon being triggered.
>tough to get to behave like VbScript. It's like they went out of
> VB is event driven and it seems this (Infragistics?) flavor is
there to drop support of common (to MS-VB & MS-VbScript) objects and
functions that would make your task a snap:
>with perhaps an additional Activate.[your_field_object_name]. (You
> In VbScript is would be a simple Select.[your_field_object_name]
might also try putting .Activate or .Select after, instead of before,
your control object name.)
>glob of keywords, try anything that sounds like it might do what you
> Since all these languages seem to be merging into one similar
want: myobject.GetFocus, etc.,
>myobject.GetFocus(), etc.,
> Mess with the syntax if your first guess doesn't work:
>reference (on line) is free and might help you out.
> Search technet for code examples, etc.,.. The MS VB programming
>Basically what it is, I have a button. When this button is pushed and
> Rob Brown
>
>
>
>
> Ken Williams <ken@...> wrote:
> Are you saying something like setting txtfield.TabSeq=1?
does it's code, I'd like for it to jump to a specific field on the
screen. Or perhaps I'm making it overly complicated and I just need
to set the button to tabseq 1 and the field to tabseq 2, but I
believe it doesn't appear to tab anywhere after I push the button.
>Reality: It doesn't always seem to be enforced. Seems very dependent
> I'll play with this tomorrow and report back.
>
> ________________________________
>
> From: vantage@yahoogroups.com on behalf of Robert Brown
> Sent: Thu 2/7/2008 4:32 PM
> To: vantage@yahoogroups.com
> Subject: Re: [Vantage] Jump to field code?
>
> Theoretically, you can set a form's tab sequence for each field.
upon the form.
>Entry, "Get Details" rev selection/submittal form. (Failed to impact
> I just tried to make the "OK" button tab seq 1 on the Job
the behavior.
>wrote:
> I did the same to Job Scheduling and it worked like a charm.
>
> Only way to be sure is to try it.
>
> Rob Brown
>
> Ken Williams <ken@... <mailto:ken%40intermountainelectronics.com> >
> Is there any way of moving the cursor to a specific field followingsome
> custom code?Try it now.
>
> Ken
>
> [Non-text portions of this message have been removed]
>
> ---------------------------------
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile.
>Search.
> [Non-text portions of this message have been removed]
>
> [Non-text portions of this message have been removed]
>
>
>
>
>
>
> ---------------------------------
> Looking for last minute shopping deals? Find them fast with Yahoo!
>
> [Non-text portions of this message have been removed]
>