Results 1 to 12 of 12

Thread: AutoSize Labels

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2003
    Posts
    30

    AutoSize Labels

    I have a basic form in design, and I have allowed it to be re-sized by the user. I also have a label at the bottom of the form. I wanted to know how do I make it perminant in the location of the form, so when a user re-sizes the form the label will follow the location? I hope that makes sense.

    Also, are there any good books out there that can assist a Network Engineer with VERY little programming experience, program with VB.NET for custom Network Administration tools?

    Thanks.
    Chris Lynch

  2. #2
    Frenzied Member DevGrp's Avatar
    Join Date
    Nov 2001
    Location
    Charlotte, NC
    Posts
    1,256
    Use the anchor property.
    Dont gain the world and lose your soul

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Mar 2003
    Posts
    30
    Thanks.

    I have another question.

    Let say I have two radio buttons, RB1 and RB2, in one form. If I select RB1, some hidden text is visable. If I then select RB2, the text that was shown is now hidden, and new text is shown.

    I would assume this is possible, but how would one do that?

    Thanks.
    Chris Lynch

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Mar 2003
    Posts
    30
    Anyone?
    Chris Lynch

  5. #5
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Originally posted by Shadow07
    Anyone?
    See the attached demo
    Attached Files Attached Files

  6. #6

    Thread Starter
    Junior Member
    Join Date
    Mar 2003
    Posts
    30
    Thanks. But, how can I take that further? For instance. I would like the label to be right under the first radio button, but not visible until selected. BUT, I would also want the radio button to be right below the first radio button. So when the first RB is selected, the text appears and the second RB moves down. Is this possible?

    Thanks.
    Chris Lynch

  7. #7
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Originally posted by Shadow07
    Thanks. But, how can I take that further? For instance. I would like the label to be right under the first radio button, but not visible until selected. BUT, I would also want the radio button to be right below the first radio button. So when the first RB is selected, the text appears and the second RB moves down. Is this possible?
    Thanks.
    You mean change the location of RB depending on RB1 ??

  8. #8
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    anyways , I've done it this way If I understand well what you are trying to do .
    Attached Files Attached Files

  9. #9

    Thread Starter
    Junior Member
    Join Date
    Mar 2003
    Posts
    30
    Thanks!!! That is exactly what I was looking for. So, basically, you are just redrawing the position of the item within the form.

    Sorry to ask so many questions, but can you do this with another form? I.E. have another form embedded within a form.
    Chris Lynch

  10. #10
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    What ?

  11. #11

    Thread Starter
    Junior Member
    Join Date
    Mar 2003
    Posts
    30
    Never mind. I found my answer.
    Chris Lynch

  12. #12
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Originally posted by Shadow07
    Never mind. I found my answer.
    Cool

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width