I have a Form using PageFrame containing 3 "Tab" pages.
When the user completes data entry they click on the COMMIT button on the 3rd Tab page.
Upon completion of the COMMIT operation I re-initialize the Form parameters to enable the next input. And I want to return the user's Focus to Tab Page 1 - Field 1
I can get the Field 1 as long as I get onto Page 1, but the program is not bringing Page 1 to the front of the PageFrame. Instead it is leaving the user on Page 3.
I have tried the following sequence:
ThisForm.PageFrame.Pg1.Enabled = .T. && actually never disabled
ThisForm.PageFrame.Pg1.SetFocus
ThisForm.PageFrame.Pg1.Field1.SetFocus
But this has not been successful.
Your advice would be greatly appreciated.
Thanks,
I_Forgot
When the user completes data entry they click on the COMMIT button on the 3rd Tab page.
Upon completion of the COMMIT operation I re-initialize the Form parameters to enable the next input. And I want to return the user's Focus to Tab Page 1 - Field 1
I can get the Field 1 as long as I get onto Page 1, but the program is not bringing Page 1 to the front of the PageFrame. Instead it is leaving the user on Page 3.
I have tried the following sequence:
ThisForm.PageFrame.Pg1.Enabled = .T. && actually never disabled
ThisForm.PageFrame.Pg1.SetFocus
ThisForm.PageFrame.Pg1.Field1.SetFocus
But this has not been successful.
Your advice would be greatly appreciated.
Thanks,
I_Forgot