From: Andrew G. <AG...@ev...> - 2007-07-03 09:07:26
|
Please ignore my questions. There was debugging left on that was somehow causing my problem. Thanks again for the help. Cheers, Andrew Grist -----Original Message----- From: Andrew Grist Sent: 03 July 2007 04:05 To: 'pyt...@li...'; 'Phil Edwards' Subject: FW: [Pythoncard-users] PythonCard Question Thank you very much for you quick reply. I am fairly new at coding, let alone python. Python does make it fairly easy and quick to learn. First problem. When I run my app from cmd prompt using python app.py it works correctly. When I run from the Standalone build before compiling, it has an option to check script, it all works correctly. Only after compile do the choice boxes not drop down. I used the Choice box component in PythonCard. Second problem. I see where it is going wrong there. You were right about it not getting compiled into the build directory. Any help on item 1 would be helpful. Cheers, Andrew Grist -----Original Message----- From: Phil Edwards [mailto:ph...@li...] Sent: 02 July 2007 16:28 To: PythonCard Users Subject: Re: [Pythoncard-users] PythonCard Question Andrew Grist wrote: > > First: None of my drop down box's work (the choice box). In the > development area, they drop down and I see my selections. After > compile, I can select items, but the drop down part doesn't work so I > can't see the options. > Couple of things worth checking here, if you haven't done so already. Firstly, have you tried running your standalone application from a command prompt to see if it's throwing up any exceptions? Second, how are you creating the list of choices for your drop-down components? Are you using a list in the resource file or populating 'manually' from within your code? > > Second: I included .png graphics. These give an error when the app is > executed, could not load image, file does not exist. I know I included > them during the setup process for StandAlone builder. > Can you clarify what you mean by 'included .png graphics'? By default, standaloneBuilder will expect any graphics files to be located in the 'pixmaps' folder within your main project directory, and if you have them located elsewhere they may not be getting copied into the build directory for the standalone version of your application. > > Any help on this would be great full. > If these suggestions don't get you anywhere, I'd be happy to have a go at building your application on my machine and see if I can figure out what the problem is. -- Regards Phil Edwards Brighton, UK ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Pythoncard-users mailing list Pyt...@li... https://lists.sourceforge.net/lists/listinfo/pythoncard-users |