Resizing Groupbox and closing forms

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Stroumfs
    New Member
    • Mar 2007
    • 28

    Resizing Groupbox and closing forms

    Hello everyone!

    My problem is the following.
    i have a form called frmmain and two group boxes1 and grpbox2

    I want my form to have dimension300 x 400.

    and each time that i make visible one of the group boxes to resize them and to print them in a specific position.
    also i want when i press one button cancel which is in the grbox2 to close the grbox2 and to display the main form.
    Please give me some code how to do it.
    i am using vb2005

    thanks in advance!!!
Working...