In a reports OnPreviewFormCreate event (in RAP) I want to set the size of the preview form based on the size of the screen. Is it possible to access the screens dimensions from within the report ?
RAP does not natively include routines that return the size of the screen. In order to get the screen size from RAP, you will need to create a pass thru function that gives you this value from Delphi.
Hi, I thought that would be the case. I've managed to get round the problem by adding the required code in the plug-in class that enables the email button.
Comments
RAP does not natively include routines that return the size of the screen.
In order to get the screen size from RAP, you will need to create a pass
thru function that gives you this value from Delphi.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I thought that would be the case. I've managed to get round the problem
by adding the required code in the plug-in class that enables the email
button.
Ian