Thanks for the reply
so I've got some of this sorted out, but I'm having a few weird issues.
When i select one of my records and they test the print, its cutting off the app, but when i do it the second time with no changes it works.
After the print screen comes up, because the Canvas control AND the Screen height are set to the datacard size (over 4000) when you close the print screen it goes back to the back VERY zoomed out.
What Ive done is have a line in a Gallery that Onselect
set(Printscreen,False)
.
On the next screen Ive added to the Screen Height
If(Printscreen=true,Approvals.Height+Review.Height+88,Max(App.Height, App.MinScreenHeight))
Approvals and Review are the data cards within the Canvas control
for the canvas control I've added to the Height
If(Printscreen=true,Approvals.Height+DataCard2_1.Height+100,680)
I have a print button on the next screen that has Onselect
set(Printscreen,true);
i cant add the Print() here because the heights don't adjust in time for the print preview. The print preview comes us, sometimes with the issues I've mentioned above and with a huge white space to the right.
I then have two other buttons that show up once PrintScreen is set to true, a button to Print
Print()
and another to confirm printing complete
Set(Printscreen,False)
The idea is that once you've printed, it would have taken you back to the APP to click on done to return to the normal size and view of the record. Problem is its zoomed out once you close the preview and even if you click on the button to set the variable back to false, it says zoomed out. I've opted to navigate back to the home page afterwards but this might not be ideal.