AndrewMozley
Programmer
This is a continuation of a thread originally posted on the VFP general coding forum, to find out how to get the VFP report controls toolbar to be visible when the user is MODIFYing a REPORT.
---------------------------------------------------------
(Response to MikeL) I have managed to get my program anmprint.exe to run with the Report Controls Toolbar; thank you. However I cannot work out where the values are coming from. I have an extraneous toolbar (Forms control) which comes up because I was playing with it at some time and cannot see where it comes from.
If I copy my program anmprint.exe into folder \dev\temp (which now has its own foxuser.dbf/fpt) and run it, everything is perfect.
If I run my program anmprint.exe (same version!) in folder \stage2\anmprint, I am getting the unwanted toolbar which I must have fiddled with at some stage.
If I then copy foxuser.dbf/fpt from \stage2\anmprint to \dev\temp, then the version in anmtemp has the extraneous toobar. So I believe that the behaviour is controlled by these files.
However, when I fire up VFP8 in \stage2\anmprint (which is my default directory), I do not see this toolbar, and if I go into View | Toolbar it is not ticked. So I am puzzled about how the settings in Foxuser.dbf tie in with the initial display for running VFP8. Or is VFP8 clever enough to know that even though foxuser.dbf says that the form design toolbar is switched on, that there is no point in showing that toolbar because I am not actually designing a form at the time.
Thanks again. Andrew
---------------------------------------------------------
(Response to MikeL) I have managed to get my program anmprint.exe to run with the Report Controls Toolbar; thank you. However I cannot work out where the values are coming from. I have an extraneous toolbar (Forms control) which comes up because I was playing with it at some time and cannot see where it comes from.
If I copy my program anmprint.exe into folder \dev\temp (which now has its own foxuser.dbf/fpt) and run it, everything is perfect.
If I run my program anmprint.exe (same version!) in folder \stage2\anmprint, I am getting the unwanted toolbar which I must have fiddled with at some stage.
If I then copy foxuser.dbf/fpt from \stage2\anmprint to \dev\temp, then the version in anmtemp has the extraneous toobar. So I believe that the behaviour is controlled by these files.
However, when I fire up VFP8 in \stage2\anmprint (which is my default directory), I do not see this toolbar, and if I go into View | Toolbar it is not ticked. So I am puzzled about how the settings in Foxuser.dbf tie in with the initial display for running VFP8. Or is VFP8 clever enough to know that even though foxuser.dbf says that the form design toolbar is switched on, that there is no point in showing that toolbar because I am not actually designing a form at the time.
Thanks again. Andrew