On Fri, January 16, 2009 1:45 pm, Tracy Pearson wrote:
> There are two things about that code I would consider changing.
> Since there have been reported problems of returning from a method in a
> WITH/ENDWITH, I don't like the .Release(). It may result in a similar C5
> as returning from the WITH/ENDWITH scenario does. Move it outside with
> oForm.Release()
>
>
> The other issue is a grey window behind the report preview window.
> You could replace
> .WindowState = 2
> .Show()
> With
> ZOOM WINDOW (.Name) MAX


Hi Tracy,

I had tried the ZOOM WINDOW way back when and for whatever reason it
didn't work as I expected, so I went back to using WindowState.  Not sure
about the specifics, but I know that this worked for me, and, no C5s.  So,
your comments are good ones and others should take heed.  I'll probably
refactor it someday given these comments!  ;-)

Thanks!
--Michael




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to