gnetcanada
12-16-2004, 05:32 PM
Hi Guys,
I have been spending the last 3 hours trying to get this to work in my project, and couldn’t, so I made a whole new project with the problem in it. The list box on page 2 is automatically populated by some code in the "Preload" Section, which looks for jpg files in a directory "Data", everytime page 2 loads, the first command is to delete all items from the listbox (to avoid adding duplicates everytime the page is accessed again). Now... this works fine if you simply switch between page 2 and page 1 (i.e. click page 2, then from page 2 click the page 1 button, do this many times, it works) BUT AS SOON as you try to browse for a file, by clicking the "File Browse" button on page 2, the whole thing go out the window, select any file, then press ok. Then press the "go to page 1 button" then go back to page 2 by pressing the page 2 button. The listbox is no longer being populated, its blank, all this is caused by just launching the file browse command.
download from: http://www.gnetcanada.com/problemwithfilebrowse.apz
Im bewildered, and EXTREMLY frustrated, any help would be good.
Shawn
I have been spending the last 3 hours trying to get this to work in my project, and couldn’t, so I made a whole new project with the problem in it. The list box on page 2 is automatically populated by some code in the "Preload" Section, which looks for jpg files in a directory "Data", everytime page 2 loads, the first command is to delete all items from the listbox (to avoid adding duplicates everytime the page is accessed again). Now... this works fine if you simply switch between page 2 and page 1 (i.e. click page 2, then from page 2 click the page 1 button, do this many times, it works) BUT AS SOON as you try to browse for a file, by clicking the "File Browse" button on page 2, the whole thing go out the window, select any file, then press ok. Then press the "go to page 1 button" then go back to page 2 by pressing the page 2 button. The listbox is no longer being populated, its blank, all this is caused by just launching the file browse command.
download from: http://www.gnetcanada.com/problemwithfilebrowse.apz
Im bewildered, and EXTREMLY frustrated, any help would be good.
Shawn