Using the RDC viewer to display reports... The programming language is Clarion 5b. I have been able to successfully set the RDC viewer display size by the following command:
xWidth=GetSystemMetrics(0)
yHeight=GetSystemMetrics(1)
if xWidth=640 then
ThisWindow{prop:at,3}=315
ThisWindow{prop:at,4}=205
elsif xWidth=800 then
ThisWindow{prop:at,3}=396
ThisWindow{prop:at,4}=230
elsif xWidth=1024
etc.
etc.
I would also like to set a default ZOOM or display font size. The viewer is set to have a ZOOM Button with the command:
CrystalReport.HasZoomControl(1). However the command to set the default ZOOM Level is not working: re = CrystalReport.SetZoomLevel(2). Questions: 1) In what application event should the command be placed? And 2) What are the valid commands for SetZoomLevel?
Any help is appreciated!
xWidth=GetSystemMetrics(0)
yHeight=GetSystemMetrics(1)
if xWidth=640 then
ThisWindow{prop:at,3}=315
ThisWindow{prop:at,4}=205
elsif xWidth=800 then
ThisWindow{prop:at,3}=396
ThisWindow{prop:at,4}=230
elsif xWidth=1024
etc.
etc.
I would also like to set a default ZOOM or display font size. The viewer is set to have a ZOOM Button with the command:
CrystalReport.HasZoomControl(1). However the command to set the default ZOOM Level is not working: re = CrystalReport.SetZoomLevel(2). Questions: 1) In what application event should the command be placed? And 2) What are the valid commands for SetZoomLevel?
Any help is appreciated!