The ZOOM WINDOW problem is due to the application being in a Top Level form
and SCREEN=OFF configuration. 

Use a custom form class with ShowWindow = 1 instead of the base form class.


-----Original Message-----
From: MB Software Solutions General Account
Sent: Friday, January 16, 2009 3:42 PM

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/000801c97818$cec5d670$6c5183...@com
** 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