1. clicking listview changes content
- Posted by jacktarred at yahoo.com Apr 25, 2002
- 341 views
My program reads the number of tables in an .edb file, creates a tab for each table, then outputs the data from each table into a LVbox. Then if I decide to read the data from a second .edb file, I destroy the original tabs, create a new tab for each of the new tables and add the new info to the new LVboxes. When opening the first db everything is fine. After switching to the second db everything looks fine until you click inside of the LVbox. Upon clicking an item the displayed information changes value. For instance, a date of "Jan. 24, 1999" might become "Nov. 30, 1997". Both dates do exist some where in the db. So it is not a completely random occurrence. Also, what the field changes to is the same on every LVbox. Any thoughts on this? Thanks for your help, Jack
2. Re: clicking listview changes content
- Posted by tone.skoda at siol.net Apr 25, 2002
- 339 views
just guessing, but i had very similar problem once in eds gui with treeviews: i think you have two listviews on same place of same size so that it looks like it is one listview. then when you click on listview item second listview is brought up. also, if i remember right, or maybe this already changed: win32lib doesn't destroy windows but only hides them when you destroy them??? ----- Original Message ----- From: <jacktarred at yahoo.com> To: "EUforum" <EUforum at topica.com> Sent: Thursday, April 25, 2002 4:11 PM Subject: clicking listview changes content > > My program reads the number of tables in an .edb file, > creates a tab for each table, then outputs the data > from each table into a LVbox. > > Then if I decide to read the data from a second .edb > file, I destroy the original tabs, create a new tab > for each of the new tables and add the new info to the > new LVboxes. > > When opening the first db everything is fine. After > switching to the second db everything looks fine until > you click inside of the LVbox. Upon clicking an item > the displayed information changes value. For > instance, a date of "Jan. 24, 1999" might become "Nov. > 30, 1997". Both dates do exist some where in the db. > So it is not a completely random occurrence. > > Also, what the field changes to is the same on every > LVbox. > > Any thoughts on this? > Thanks for your help, > > Jack > > > >