Turning off Report Emulation Text File
I am using RB 7.03 and Export Devices 2.03. I would like to allow the user
to be able to print to file to allow them to print to PDX, RTF, Excel, HTML
but not allow them to print to a Report Emulation Text File. How do I turn
this off?
Thanks in advance,
Rodger Van Kirk
to be able to print to file to allow them to print to PDX, RTF, Excel, HTML
but not allow them to print to a Report Emulation Text File. How do I turn
this off?
Thanks in advance,
Rodger Van Kirk
This discussion has been closed.
Comments
The ability to control the drop down box in the Print dialog is not
available in the current version of ReportBuilder. We have had many
requests for this feature and it is on our todo list for a future release.
Currently, you can replace any dialog in ReportBuilder with your own custom
dialogs. Check out the TppPrintDialog.UpdateFileSettings, and
TppPrintDialog.AddFileDevices methods in the ppPDlg.pas file to see how the
drop down box is currently controlled.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
...
var aList: TStringList;
i:integer;
...
aList:=TStringList.Create;
ppGetDeviceClasses(aList);
for i:=0 to aList.Count-1 do
if aList[i] = 'ReportTextFile' then
ppUnRegisterDevice(ppDeviceClassForName(aList[i]));
aList.Free;
...