Select item after save is wrong

Find any bugs or have any problems using Visual CD?

Select item after save is wrong

Postby durumdara on Thu Feb 18, 2010 8:14 am

Hi!

I must reorder my CD list.
This meaning that I many times to needs to rename the CD and see the contents.

I experienced a bug.

a.) Rename a CD name to another. (CD 100 to CDA-003)
b.) Don't save!
c.) Select the next CD. (CD 101)
d.) Dbl Click to see the content. (CD 101)
e.) The VCD say: "Save the CDA-003?"
f.) Save it.
g.) See the content of the selected CD. (CD 101)
h.) When you click on Favourites then the selected CD in the list is not same that you see before: it is the next. (Not CD 101 but CD 102)

Possible it will be better if you not use "TListView.index" to select after saving but the name or id.

OnSave:
Name = GetSelectedElement.Name
CDName = GetSelectedElement.CDName
Index = GetSelectedElement.Index
Save CDs
if not Locate(Name) and not Locate(CDName) then UseIndex(Index)

Then you will be sure that needed element located.

Thanks for your read:
dd
durumdara
 
Posts: 14
Joined: Thu Mar 05, 2009 10:58 am

Re: Select item after save is wrong

Postby boozet on Wed Mar 10, 2010 7:22 am

Thank you for your report. I'll try to fix it.
boozet
Site Admin
 
Posts: 276
Joined: Mon Mar 24, 2008 8:19 am


Return to Bug Reports & Troubleshooting

Who is online

Users browsing this forum: No registered users and 1 guest