Probably, the user is closing the toolbar (easy to do my accident), and VFP is remembering that fact, and so not opening it next time.
One way to prevent that is to not use a resource file. The resource file is where VFP stores this kind of information. If you don't have such a file, VFP will revert to the default next time, which is for the toolbar to be visible.
You can achieve that by putting RESOURCE = OFF in a Config.FPW file.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
Well, if the toolbar is docked when you distribute the application, and if you distribute the resource file but make it read-only, any changes the user makes in the dock status (or anything else) will not be saved. So the report should always come up with the toolbar docked.
If you don't want to make the whole resource file read-only, you can make that setting for individual records - just set the relevant ReadOnly field to .T.
Another possibility might be to experiment with something like MOUSE DBLCLICK WINDOW "Print Preview" immediately before you do the preview.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.