I have a form with a pageframe containing 5 pages. The first page has a listbox. When I click on an "add" button to add a new record, I activate the 1st page with:
THISFORM.pgframe.page1.setfocus()
Everything works fine if I am on the 1st page when I press the "add" button. However, if I am on any other page and I press the "add" button, the 1st page is activated but the list box is not visible. Clicking on another page and then back to the 1st page, the listbox is visible again.
I would appreciate any help in solving this problem
Thanks
THISFORM.pgframe.page1.setfocus()
Everything works fine if I am on the 1st page when I press the "add" button. However, if I am on any other page and I press the "add" button, the 1st page is activated but the list box is not visible. Clicking on another page and then back to the 1st page, the listbox is visible again.
I would appreciate any help in solving this problem
Thanks