Refresh to enviroment, i.e. new printer
How can I refresh the printer names in default PrinterSetup dialog? (RB
6.03)
During a program session if new printer is installed or deleted the
PrinterSetup
Dialog doesn't reflect the changes.
I mention that I already find a solution by publishing a new method in
TppPrinterSetup(unit ppPrintr.pas) :
procedure TppPrinterSetup.RefreshPrinterNames;
begin
ppPrinters.Refresh;
end;
but this mean I made my code dependent of this release...
Are the any "buid in" methods for refreshing printer names to reflect the
environment changing?
Thanks,
Dan E. Mincu
6.03)
During a program session if new printer is installed or deleted the
PrinterSetup
Dialog doesn't reflect the changes.
I mention that I already find a solution by publishing a new method in
TppPrinterSetup(unit ppPrintr.pas) :
procedure TppPrinterSetup.RefreshPrinterNames;
begin
ppPrinters.Refresh;
end;
but this mean I made my code dependent of this release...
Are the any "buid in" methods for refreshing printer names to reflect the
environment changing?
Thanks,
Dan E. Mincu
This discussion has been closed.
Comments
methods) with some reports because
I cannot recompile the raCodMod.dcu. (error :compile with a diffrent version
of ppClass,ppComm...)
Where can I find the source for raCodMod to be able to recompile this unit?
Thanks,
Dan E. Mincu