From: John H. <ec...@ya...> - 2009-11-14 00:39:35
|
Ok. I did a search and added "PDFWindow, flashWindow" to everywhere I found htmlWindow and IEHtmlWindow and it works great now. I still a little issue with PDFWindow but otherwise both of the PDFWindow and FlashWindow wrappers work. , I'll report back once I figure out the remaining issue with PDFWindow. -- John Henry ----- Original Message ---- > From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX > To: John Henry <kim...@ya...> > Cc: pyt...@li... > Sent: Tue, November 10, 2009 6:08:51 AM > Subject: Re: [Pythoncard-users] FlashWindow and PDFWindow > > On 2/11/09 19:48, John Henry wrote: > > I can now be more specific about the layoutEditor error in handling the > PDFWindow & FlashWindow wrappers. layoutEditor actually creates the components > fine (in the same manner as htmlWindow) but when it saves the file, it always > ended up with a size of (-1,-1). Of course that won't work properly. > > > > What do I need to do to fix this? > > Hmmm...this sounds familiar. I came across a similar problem with the > built-in components on OSX after a particular version of wxPython came > out, back in 2008, and although it won't be the same issue as you're > getting it might pinpoint the code you need to modify. Take a look at > the mailing list archive around October 08. > > The code for the layout editor will be making calls to GetBestSize() > before it writes the resource file, unless you add PDFWindow to the list > of excluded components. If GetBestSize returns a width and height equal > to the current dimensions (which it did...and might still do...on OSX), > it substitutes (-1,-1). Not sure why, and in some of the editors Kevin > has added a comment querying the need to do this. > > -- > XXXXXXXXXXX > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Pythoncard-users mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pythoncard-users |