Normal Topic ThrowFocus (Read 1258 times)
NHUser
Full Member
***
Offline



Posts: 320
Location: Amherst, NH
Joined: Aug 2nd, 2010
ThrowFocus
Dec 23rd, 2010 at 7:52pm
Print Post Print Post  
I'm using the following programming when I enter a form in the Add mode:

If @mode()=0
{
     // HIDE ALL BUT ADD TAB
     
     RestoreTabPages(le1)
     HideTabPage(le1,1)

     ThrowFocus(AddDCNumber)
}

My problem is that the AddDCNumber element is not the focus and I can't find what element has the focus.  I try hitting the TAB key to move around the elements, but the focus seems to be lost.

Any idea what's happening?

  
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: ThrowFocus
Reply #1 - Dec 23rd, 2010 at 9:55pm
Print Post Print Post  
Is AddDCNumber an element on a Tab Page or on the Form itself?

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
NHUser
Full Member
***
Offline



Posts: 320
Location: Amherst, NH
Joined: Aug 2nd, 2010
Re: ThrowFocus
Reply #2 - Dec 28th, 2010 at 1:11pm
Print Post Print Post  
The AddDCNumber is an element on the tab that is visible after the HideTabPage command.
  
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: ThrowFocus
Reply #3 - Dec 29th, 2010 at 6:04pm
Print Post Print Post  
I can see what you are seeing. I'll write a bug report up on it and pass it along to development.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged