Results 1 to 5 of 5

Thread: [RESOLVED] Update Parent form after Child form closes

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Apr 2017
    Posts
    22

    Resolved [RESOLVED] Update Parent form after Child form closes

    I am using a child form to turn controls, visible or invisible, on the parent form.

    I know how to change the properties of those controls, my issue is getting the parent form to update and display correctly whether that control is visible or not

    Richard

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Update Parent form after Child form closes

    I'm not sure that I understand the issue. The content of your post doesn't really bear any relation to the title. Please provide a FULL and CLEAR explanation of the problem. What EXACTLY are you trying to do, how EXACTLY are you trying to do it and what EXACTLY happened when you tried?

    If all you're saying is that you want to do something different based on whether a control is visible or not then it should be obvious that you need to use an If statement that tests the Visible property of that control. If that's not what you're saying then I don't know what you're saying.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Apr 2017
    Posts
    22

    Re: Update Parent form after Child form closes

    I thought I closed this request. I figured it out within a few minutes of posting my request.

    Sorry, I will close this out
    Richard

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [RESOLVED] Update Parent form after Child form closes

    If you resolve your issue yourself, it's generally good form to post your solution. It may help others with a similar issue and, if your solution is not ideal, we may be able to help you improve it.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Apr 2017
    Posts
    22

    Re: [RESOLVED] Update Parent form after Child form closes

    My issue turned out to be incorrect placement of my code. It was on the wrong form and wasnt even been used. Moved it to the correct form and everything worked.

Tags for this Thread

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