chpicker
Programmer
- Apr 10, 2001
- 1,316
I have a pageframe with 3 pages, each of which has a Listbox. The first time each page comes up, everything works fine. However, for pages 2 and 3, the second and each subsequent time that page is activated, the list box doesn't repaint itself, giving you a box which contains whatever was on the page you just left. You can still access it, and the listbox's items will redraw themselves as you move the cursor...but to get the listbox to repaint itself I have to minimize and restore the app.
I have tried putting Refresh commands into the page.activate methods (both thisform.refresh and this.list1.refresh), I've tried putting "this.refresh" into the GotFocus event of the listbox itself...same results. This is very annoying, frustrating, and unprofessional looking to my boss, and I'm completely stumped as to WHY it's doing this. Any suggestions?
I have tried putting Refresh commands into the page.activate methods (both thisform.refresh and this.list1.refresh), I've tried putting "this.refresh" into the GotFocus event of the listbox itself...same results. This is very annoying, frustrating, and unprofessional looking to my boss, and I'm completely stumped as to WHY it's doing this. Any suggestions?