Normal Topic [Solved] le navigation (Read 444 times)
olddog
Member
*
Offline



Posts: 35
Joined: Jan 19th, 2008
[Solved] le navigation
Jan 19th, 2008 at 3:47am
Print Post Print Post  
i would like to be able to tab (tab key not layout element) from the last le on my form back to the first le on my form is this possible? if so, how?
« Last Edit: Jan 19th, 2008 at 2:22pm by Hammer »  

trying to learn a new trick
Back to top
 
IP Logged
 
Carl Underwood
Senior Member
Members
*****
Offline



Posts: 1351
Location: New Hampshire
Joined: Mar 11th, 2003
Re: le navigation
Reply #1 - Jan 19th, 2008 at 4:47am
Print Post Print Post  
ThrowFocus() can do what you want.

But, since you cannot exit the last layout element on a form with the Tab key, you can't simply put a ThrowFocus() command in the On Element Exit event of that last element. So, you will need to add one more LE to your form, and put ThrowFocus(MyFirstLE) in its On Element Entry event.

It can be an "unbound" text box that you set as a "Flat" "Filled" box (done on the "Look" tab in Property Editor) with the same background color as the form, and remove the label (or also set the label color the same as the form). This will keep it hidden from view. You may also need to click on Change Navigation Order to check that it is the last element in the list.
  


Carl Underwood
CDU Computer Consulting LLC
Epsom, New Hampshire
Back to top
IP Logged
 
olddog
Member
*
Offline



Posts: 35
Joined: Jan 19th, 2008
Re: le navigation
Reply #2 - Jan 19th, 2008 at 6:16am
Print Post Print Post  
thank you that worked
  

trying to learn a new trick
Back to top
 
IP Logged