Re: FlashWindow and PDFWindow

John Henry <[email protected]> Fri, 13 Nov 2009 16:39:21 -0800 (PST)
Newsgroups gmane.comp.python.pythoncard
Message-ID <[email protected]>
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: Neil Hughes <[email protected]>
> To: John Henry <[email protected]>
> Cc: [email protected]
> 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.
> 
> -- 
> Neil Hughes
> 
> 
> ------------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pythoncard-users


------------------------------------------------------------------------------
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