Hi,

My user sometimes closes the report preview toolbar instead
of the actual report. is there a way that if the toolbar is closed,
the report will also close?


Thanks,
Herbert

Re: Report Preview Toolbar by HerbertDB

HerbertDB
Fri Sep 14 18:09:29 PDT 2007

Or is it possible to detect if the Report Preview Tollbar is closed?



"HerbertDB" <herbertdb@gtech> wrote in message
news:%23$IqbAr9HHA.396@TK2MSFTNGP06.phx.gbl...
> Hi,
>
> My user sometimes closes the report preview toolbar instead
> of the actual report. is there a way that if the toolbar is closed,
> the report will also close?
>
>
> Thanks,
> Herbert
>



Re: Report Preview Toolbar by Stefan

Stefan
Sat Sep 15 00:43:23 PDT 2007


"HerbertDB" <herbertdb@gtech> wrote in message
news:uklTpPz9HHA.5948@TK2MSFTNGP04.phx.gbl...
> Or is it possible to detect if the Report Preview Tollbar is closed?

? WEXIST('print preview')

> "HerbertDB" <herbertdb@gtech> wrote in message
> news:%23$IqbAr9HHA.396@TK2MSFTNGP06.phx.gbl...
>> Hi,
>>
>> My user sometimes closes the report preview toolbar instead
>> of the actual report. is there a way that if the toolbar is closed,
>> the report will also close?

At least not directly. One way to accomplish your task might
be to have a read-only resource file at runtime where the
Print Preview toolbar is saved as being docked, so that users
cannot directly close it.
Here is a NG archive link describing how print preview
toolbar and Set Resource play together:
http://groups.google.com/group/microsoft.public.fox.vfp.reports.printing/browse_thread/thread/feea3335552ec4ae/00bd34a422926f5e?lnk=st&q=&rnum=6#00bd34a422926f5e


hth
-Stefan




--
|\_/| ------ ProLib - programmers liberty -----------------
(.. ) Our MVPs and MCPs make the Fox run....
- / See us at www.prolib.de or www.AFPages.de
-----------------------------------------------------------


Re: Report Preview Toolbar by HerbertDB

HerbertDB
Sun Sep 16 17:18:09 PDT 2007

Thanks Stefan.


"Stefan Wuebbe" <stefan.wuebbe@gmx.de> wrote in message
news:ueWAzw29HHA.4476@TK2MSFTNGP06.phx.gbl...
>
> "HerbertDB" <herbertdb@gtech> wrote in message
> news:uklTpPz9HHA.5948@TK2MSFTNGP04.phx.gbl...
>> Or is it possible to detect if the Report Preview Tollbar is closed?
>
> ? WEXIST('print preview')
>
>> "HerbertDB" <herbertdb@gtech> wrote in message
>> news:%23$IqbAr9HHA.396@TK2MSFTNGP06.phx.gbl...
>>> Hi,
>>>
>>> My user sometimes closes the report preview toolbar instead
>>> of the actual report. is there a way that if the toolbar is closed,
>>> the report will also close?
>
> At least not directly. One way to accomplish your task might
> be to have a read-only resource file at runtime where the
> Print Preview toolbar is saved as being docked, so that users
> cannot directly close it.
> Here is a NG archive link describing how print preview
> toolbar and Set Resource play together:
> http://groups.google.com/group/microsoft.public.fox.vfp.reports.printing/browse_thread/thread/feea3335552ec4ae/00bd34a422926f5e?lnk=st&q=&rnum=6#00bd34a422926f5e
>
>
> hth
> -Stefan
>
>
>
>
> --
> |\_/| ------ ProLib - programmers liberty -----------------
> (.. ) Our MVPs and MCPs make the Fox run....
> - / See us at www.prolib.de or www.AFPages.de
> -----------------------------------------------------------
>