From: Alex T. <al...@tw...> - 2004-08-25 10:47:18
|
At 08:37 25/08/2004 +0100, Adrian Smith wrote: >Hi, >Its great to see a new version out but its causing a little problem. I have >read the migrate documentation but I am still getting a problem or two. >I at first could not load my app in pythoncard resource editor, it just >failed to load even when I cut it down to nothing just a basic minimal. The migration guide describes this - though it might perhaps have given it more emphasis. All existing resource files need to be edited (in a text editor) to replace "stack" by "application". (Depending on your text editor, remember to save as "text only") Details in the migration guide in the section on "Resource File Changes" >However the second problem I have yet to resolve. >I use .list.getSelectionIndex() which was fine in 0.7.3.1 but now the >program falls over at that point saying > >AttributeError: 'List' object has no attribute 'getSelectionIndex' > >I had a look at the components doc but it still says use getSelectionIndex. > >What is the new variation of this command? I don't have a 0.7.3 on here any more to check completely, but I'm 99% sure if should be list.GetSelection() -- Alex Tweedly. |