Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 31

Thread: need help in VB.Net

  1. #11
    keroed1 Guest

    Default

    i am usin microsoft visual basic .net 2003 if that helps

  2. #12
    Join Date
    Nov 2002
    Posts
    2,832
    Rep Power
    0

    Default

    Quote Originally Posted by keroed1
    not sure if is my verision nothing is there for maximise and minimise

    See screenshot - should be in all versions of .NET

    Quote Originally Posted by keroed1
    next question right the sub_form.close worked

    i had set the main_form to invisible because when i am seeing the sub form i dont want to see the main form but when i am finish with sub form i want to se it again is there a way i can make it visible again i tried to institate main one and call it just like i did the sub form but that does'nt wrk
    use the show / hide methods of the form

    Example:

    hiding main form:
    frmMain.Hide

    Showing sub form
    fromSub.show
    Device: iPhone® 4S OS: v5
    POWERED By: LIME 3G


  3. #13
    Join Date
    Nov 2002
    Posts
    2,832
    Rep Power
    0

    Default

    Screenshot not very visible but I hope it helps
    Device: iPhone® 4S OS: v5
    POWERED By: LIME 3G


  4. #14
    Join Date
    Jun 2005
    Posts
    51
    Rep Power
    0

    Default

    ghetto nerd and seanbee20 thank you for your help. greatly appreciate it. will try them now.
    keroed1, good questions, u took the words right out of my mouth.

  5. #15
    keroed1 Guest

    Default

    use the show / hide methods of the form

    Example:

    hiding main form:
    frmMain.Hide

    Showing sub form
    fromSub.show
    ok cool i think i get he idea of the show and hide method right but ?
    letes say after i hide the main and show sub form right when i close the sub form will the main form automatically be shown or will it still be hidden and if so how will i be able to unhide the main form

    i tried to do this by puting and and exit button on my sub form and tried to do this

    p.s. {not to sure abut the bracket part just writing out of my head}

    dim m_page as new main_page()

    m_page.show()

    but that is not working when i did the the sub form

    sim s_form as new sub_form()

    s_form.show()

    that worked

  6. #16
    keroed1 Guest

    Default

    or maybe the problem is that i had made main visible attribrute to false

    main.visible()=false

    main.hide()
    is that correct method that would have made it come back up when the sub form was closed

  7. #17
    keroed1 Guest

    Default

    oh when i get home going to try to take a screen shoot for u to see ok

  8. #18
    Join Date
    Nov 2002
    Posts
    2,832
    Rep Power
    0

    Default

    You would need to set back the main form to visible=true.
    Device: iPhone® 4S OS: v5
    POWERED By: LIME 3G


  9. #19
    Join Date
    Nov 2002
    Posts
    2,832
    Rep Power
    0

    Default

    Here is a good mini tutorial, hope it doesn't confuse you more.

    http://www.devcity.net/Articles/94/1/.aspx
    Device: iPhone® 4S OS: v5
    POWERED By: LIME 3G


  10. #20
    keroed1 Guest

    Default

    Quote Originally Posted by seanbee20
    You would need to set back the main form to visible=true.
    I would do this in the exit button of the sub from thanks for the tutorial i will try when i get home

Posting Permissions

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