[email protected] wrote on 2015-07-23: > On 2015-07-20 16:43, Tracy Pearson wrote: > I have a special FoxUser table embedded in the executable that I set > just > before bringing up a Fox report in a preview window. I use SET RESOURCE > TO > the embedded filename. VFP doesn't error. I also SET RESOURCE OFF right > after the report preview is closed. > > > Hi Tracy, > > Why do you do this? I'm interested. Cathy Poutney Knight had mentioned > doing something like this years ago to me when I said I wanted to ship > an app that previewed reports only and did not allow them to actually > print (in 'demo' mode). I never followed through on that but was always > curious. > > tia, > --Mike > Mike,
We wanted a consistent look/feel of the toolbars. There is a custom report module in our system. One way to be sure the toolbars appear docked at the top each time is to set them in a Resource file. Another way would be to programmatically put them in place. Which causes screen flashes. There is a bit of code around setting the resource file. That code also corrects the preview/edit window opening to fill the _Screen space. Tracy Pearson PowerChurch Software _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.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.

