Create a print preview icon (SOLVED)

lorrykirk

New member
Hi,

Been trying to create a print preview icon and having problems. The only choice I was given in “Execute this script function” was HEPopupPrintPreview. Problem is I have popups disabled and when clicked nothing happens. But in the file menu, print preview shows up in the list and works properly. Is there a way to get the code used in the file menu and use it for an icon? Please let me know thanks.
 
Last edited:
HEPopupPrintPreview will only work within popup windows. You have to use the script editor (in User Scripts) to create a procedure in UserMain. For instance, copy/paste this script in UserMain:
Code:
procedure ShowPPrev;
begin
ShowPrintPreview("");
end;
Then create a new toolbar button, and choose to call the HEScript function UserMain.ShowPPrev
 
Last edited:
Back
Top