Note that there are some explanatory texts on larger screens.

plurals
  1. POwinform dynamically resizing controls
    primarykey
    data
    text
    <p>Good Day,</p> <p>I have a Windows Form with two group boxes. One contains a report and the other will contain some text boxes to critique the Report. At the bottom of the form, I have three buttons. The first button will display the group box with the multiple text boxes. The second button will submit the data. The third one to clear the text boxes.</p> <pre><code>-------------------------------- -------------------------------- |------------------------------| |------------------------------| || || || || || || || || || Report Viewer || || Report Viewer || || || || || || || || || || || ||----------------------------|| || || ||----------------------------|| || || || || || || || || || || || Multiple Text Boxes || || || || || |------------------------------| ||----------------------------|| || Buttons || || Buttons || -------------------------------- -------------------------------- Form Initially Launches Button to critique Report has been clicked and now shows multiple Text Boxes </code></pre> <p>When my form launches, the group box with the multiple text boxes do not display, when I click on one of the buttons, then the group box appears.</p> <p>Here's my problem. I want the height of the first group box to take up the height of the both group boxes until I click on the button on the bottom. Now if the form height was a fixed value, then this isn't a problem. But if the user is allowed to resize the form, I always want to make sure the the first group box height is always the same. But when I click on the button to show the mutiple text boxes, I want it that group box to be positioned at the bottom.</p> <p>I've set the anchor properties appropriately for both views, but I'm not 100% sure how to make my report viewer group box occupy the entire space (except the button area) without having to set the form height programmatically.</p> <p>Any suggestions?</p> <p>coson</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload