I have code to change forms controls before printing and then back after print
eg; form color from brown to white,etc
the changes is briefly visuable. before printing
.How can i stop this?
lstPrinters.Visible = False
cmdHelp.Visible = False
cmdDeleteCboItem.Visible = False
miFrame1Top = Frame1.Top
picBelowTop.Visible = False'hide the pic containg buttons
mLFormColor = Me.BackColor
Me.Frame1.BackColor = vbWhite
Frame1.Top = 500'leave space at the top as a margin
FraProjects.BackColor = vbWhite
Me.BackColor = vbWhite
' Command2.Visible = False
' Command3.Visible = False
Ihave tried this:
created another for just for printing and copied values
frmPrintGetBids.Left = Screen.Width + 800 'hide the form off the screen
This produced a completely black printout
setting the print forms z.order to 1,but it did not hide it.
Have not tried api setting the move to the back,
getting tired of trying things that don't work.
How can this be fixed ?