Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to customize report previewer toolbar
Message
From
19/04/2006 23:46:09
 
 
To
17/04/2006 01:43:23
Dorin Vasilescu
ALL Trans Romania
Arad, Romania
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01107671
Message ID:
01114844
Views:
18
>>Hi Dorin,
>>
>>Thank you for making ReportPreviewEx.app available, which adds a very important capability to the preview window. I am now trying to understand it in order to combine it with my previous code, which adds controls to the preview toolbar.
>>
>>Perhaps I am trying to bite too much, but I'd like to implement your code as an add-on to ReportPreview.app (placing your code in the extension handler) instead of replacing ReportPreview.app with ReportPreviewEx.app. This way it would integrate better with my previous code and it will be easier to implement changes that Sedna may make. Do you see this as possible?
>>
>
>To be honest I don't know.
>I only wanted to give a new look (with romanians dialog captions and menus). Then, one of my colleagues from profox.ro suggested me to try Find/Find again. Unfortunately, I don't have enough time now to dig into the new SP1 code and to build a version ready for distribution (which new SP1 EULA permits) :(
>The code needs to be optimised and syncronised with SP1 code. And GDI+ stuff needs to be revised, the flickering is annoying, the red highlight easy to erase :) and sometimes it misses compltely the highlighit coordinates.

Just to let you know that I was able to make it work with all code contained in a relatively small vcx (yipee). As soon as I fix the leftover inconsistencies I'll send it to you. BTW, the inconsistency I have left is related to the value of "nMargin" in the HighlightObject method. You gave it a value of 50. In my machine I found that Canvas.Top + PrinterTopMargin (15 and 19.2 pixels, respectively) gave better results, but when I tried it in another machine it needs a larger value, perhaps the 50 you found. I am now trying to come up with a formula that always works.

Alex
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform