+ Reply to Thread
Results 1 to 3 of 3

Thread: VB.NET Windows

  1. #1
    Banned Iturea's Avatar
    Join Date
    Jan 2004
    Location
    Earth
    Posts
    420

    Question VB.NET Windows

     
    I created a form (well actually the form itself was already created for me). Well this is my first experience in a windows programming environment and I don't understand how to make all my form components maximize with the window when the user maximizes the window.

    For example:
    I put a panel on the left and a richedit on the right of it and it fits the entire window at 500 by 450. Well when I maximize the window the panel and richedit stays the same size!!

    I tried docking the panel to the left hand side of the form and my richedit component on the right side of the form but the rich edit ends up either below the left panel or above it.

    What should I do??

    I hate windows! It takes more time designing the stupid window than it does actually coding it!!

  2. #2
    Senior Member bfcx's Avatar
    Join Date
    Oct 2002
    Posts
    557
    I'll assume your in vb.net studio

    you need to set the anchor on your objects in the form, IE if the object is anchored to the top left and right it'll streach right when the window is resized right. If it's also on bottom it'll streach down on bottom. Say you have a object to the right you dont want to streach, just move when the window resizes, just anchor it to the top, right, bottom.

    Just play around with the anchor property of your objects (you can rezise the window in vb.net studio and it'll show how they behave).

    Good luck (i'm in a vb.net class in college now, i still prefer c++ heh)

  3. #3
    Banned Iturea's Avatar
    Join Date
    Jan 2004
    Location
    Earth
    Posts
    420

    Thumbs up

    Thanks a lot bfcx - I will try what you said when I get home. Yeah - I am using Studio 2003..

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. net work windows passowrd
    By md300 in forum Applications and Operating Systems
    Replies: 4
    Last Post: July 4th, 2004, 01:23 PM
  2. Sony Net MD + Windows Media Player?
    By ClubMed in forum General Tech Discussion
    Replies: 22
    Last Post: June 29th, 2004, 10:57 AM
  3. Windows net meeting????
    By glover12 in forum Applications and Operating Systems
    Replies: 5
    Last Post: June 11th, 2004, 09:40 AM
  4. Windows Media Player wont access the net.
    By Master Chief in forum General Tech Discussion
    Replies: 4
    Last Post: March 8th, 2003, 09:50 PM
  5. VB.NET & WISE for Windows 4.4 Install
    By jutah in forum Webmastering and Programming
    Replies: 7
    Last Post: September 18th, 2002, 09:47 PM

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Recommended Sites: ResellerRatings Store Reviews