Hi there. I have a publication that works ok, and I can call the zoom function successfully from the navigate drop down, but I would like to implement the same function from a button on the toolbar.
I have made custom buttons for ‘zoom in’ and ‘zoom out’ on the toolbar and tried to apply the script procedure to them:
into both the Macros and the UserMain scripts, but neither of them work. The check says that the scripts are OK.
What am I doing wrong?
I have made custom buttons for ‘zoom in’ and ‘zoom out’ on the toolbar and tried to apply the script procedure to them:
Code:
procedure MyNavigateZoominCommand;
begin
NavigateCommand(6);
end;
procedure MyNavigateZoomoutCommand;
begin
NavigateCommand(7);
end;
What am I doing wrong?
Last edited: