Just ran a multiple page report that is created in landscape mode and I just noticed the thumbnail side panel overlaps and distorts the report .. see screenshot
Only seems to happen with landscape and multiple pages.
Rick Lipkin


I allready ask this error ...
I thinked to insert on configuration 8 on menu) the possibility to show panel preview or not ( as adobe reader)
Rick,
Before creating your report, please execute this code:
TPreview():lListViewHide := .F.
Sorry I not Know this set logic.. but it can be insert on menu ...just an idea ...
Hello Antonio,
I think it should be set to TRUE.
TPreview():lListViewHide := .T.
Best regards,
Otto
Otto,
yes, right. Thanks ![]()
Antonio
Your suggestion worked .. unfortunately, I have at least 8-10 programs with hundreds of cumulative reports that are in landscape mode and I will have to go in and modify each one to turn off the preview panel.
If I may suggest for backwards compatibility, that the preview panel be turned off and let the programmer decide if they want the panel as an option ?
Let me know what you decide .. I will wait to make the changes.
Thanks
Rick Lipkin
TPreview():lListViewHide is a CLASSDATA. This is a global setting
If you set it to .T. at the beginning of the function Main(), and thumbnails will not be shown in your entire project.
Rao
Thank you for your suggestion ... This indeed turns off the thumbnails, but for those developers that wish to use them the panel does need to be fixed.
Rick Lipkin
Rick,
If the report is in landscape I am afraid there is not enough space for the thumbnails, so it seems as there is no other way to do it.
Antonio
I understand .. No Problem
Rick Lipkin
nageswaragunupudi wrote:TPreview():lListViewHide is a CLASSDATA. This is a global setting
If you set it to .T. at the beginning of the function Main(), and thumbnails will not be shown in your entire project.
Hakan,
yes ![]()
RPrevUserBtns( { |oPreview, oBar| ReportExtend( oPreview, oBar ) } )
function ReportExtend( oPreview, oBar )
DEFINE BUTTON OF oBar ;
RESOURCE 'SAVE' ; // from our resource or bitmap file
TOOLTIP 'Show the Panel' ;
ACTION IIF(oPreview:lListViewHide = .F.,.t.,.f.)
return nilRPrevUserBtns( { |oPrev,oBar| AddMyButtons( oPrev, oBar ) } )
....
function AddMyButtons( oPreview, oBar )
DEFINE BUTTON OF oBar RESOURCE "MYRES" ACTION MyAction()
DEFINE BUTTON OF oBar .....< more buttons >
return nil