OK, I feel there is a communication problem somewhere. What I saw until a few days ago was this: After I issued a REPORT command I had a form (PRINT PREVIEW form) sprang up overlapping my main form where I could view my report. The report in this print preview form was set at page # 1. There was also a tiny secondary form with a few controls on it: the toolbar. One of the controls allowed me to magnify or attenuate the report. It was a combobox with percentages: 25%,50%,75%,100%,125%,150%, etc. The other one was a navigation button (actually two buttons: right and left). With this second control which I badly miss now I could flip the pages.
As I said, once I moved it down below the page because it was hindering my view and it disappeared forever.
Now after I read your suggestions I did the following: I generated a custom toolbar and hooked it to my custom library: myDefines.cvx. Then I assigned it as a new property to the form preview.
REPORT FORM MyReport.FRX NAME repForms PREVIEW NOWAIT oToolbar = newobject("myToolBar","D:\VFP_PR~1\LIBS\mydefines.vcx") repForms.AddProperty ('ToolBar',oToolBar) oToolBar.Show ()
At design stage it does generate a "toolbar" which has no controls on it, naturally, It is just a tiny form placed at the corner of the _SCREEN. For all practical purposes it is useless in this shape but it is not the worst part. I could have tried to figure out how to fill it with controls I need. The worst part is that after I BUILT an exec out of my main form this toolbar did not show up at all in the Preview.
I am back to the square one.
I appreciate your help as always.
Thanks.
|