rbulph Posted November 9, 2006 Posted November 9, 2006 I have a simple form with a toolbar and a PrintPreview Control. When I add the PrintPreviewControl at design time and set the Dock to Fill, it fills the space available nicely. But I want to add the control at run time, because that seems to be the only way to refresh the PrintDocument that it contains without reloading the form. However when I do this and set the Dock to Fill, the PrintPreview control extends up underneath the toolbar so is partly obscured. How can I fix this? Quote
Leaders snarfblam Posted November 9, 2006 Leaders Posted November 9, 2006 Call the SendToBack() method of the toolbar. The order in which the docking of controls is processed depends on their z-order. Quote [sIGPIC]e[/sIGPIC]
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.