Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

User interaction for printing from Preview mode


This topic is 6010 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hello, everyone.

I have an invoice table which is working very well. I have buttons placed on it that are designed for printing, so that when the user clicks on it in Browse mode, it brings them to preview mode, prints it, then returns them to browse mode. I also have another button that simply allows them to preview it (by bringing them to preview mode). My question is this. Is there any way that I can add some user interaction to preview mode so that it calls my print script from there (i.e. The user previews it, accepts it, and prints it, or rejects it and goes back to browse mode). I'd like it if the user weren't to use the buttons on the actual toolbar on the left, such as changing modes or continueing through scripts. Thanks.

Posted

How about something like:

Allow User Abort [Off]

Go to Layout [ “Print” ]

# FIND

# SORT

Enter Preview Mode [ Pause ]

Show Custom Dialog [ Message: "Would you like to print this?"; Buttons: “Print”, “Cancel” ]

If [ Get (LastMessageChoice) = 1 ]

# PRINT

End If

Enter Browse Mode

Go to Layout [ original layout ]

This topic is 6010 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.