Print Preview
Posted: Friday 29th January 2021 4:53pm
I am trying to access the 'Printer.Preview()'. I have tried all sorts of things but without success. Printer help.
I have looked at examples within Gambas, and it looks simple, but it's not working! Any ideas?
Using gb.gui.qt the following code brings up the form, but it's blank and the program crashes.
Using gb.gui the form is not seen and the program crashes.
I have looked at examples within Gambas, and it looks simple, but it's not working! Any ideas?
Using gb.gui.qt the following code brings up the form, but it's blank and the program crashes.
Using gb.gui the form is not seen and the program crashes.
''Requires gb.form.print
Printer1 As Printer
Public Sub Form_Open()
Printer1 = New Printer As "Printer1"
Printer1.Preview()
End