I have a problem with the Print() and PrintDialog().
I have a form with a vertical ScrollBar.
...
if(PrintDialog1->Execute())
{
File1->Visible=False;
Form20->VertScrollBar->Position=0;
Form20->Print;
File1->Visible=True;
}
...
This code print me only the visible part of form (700/1000 pixel).How can I print all the form without changing the height of the form?
Thank you.
I have a form with a vertical ScrollBar.
...
if(PrintDialog1->Execute())
{
File1->Visible=False;
Form20->VertScrollBar->Position=0;
Form20->Print;
File1->Visible=True;
}
...
This code print me only the visible part of form (700/1000 pixel).How can I print all the form without changing the height of the form?
Thank you.