• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 198
  • Last Modified:

Reloading a Form from Another

I am trying to find out how to Reload another form from another.(e.g. Reload Form1 by pressing a button on Form2). I need this to update features on form1
1 Solution
I may not have enough information, but it sounds like you just need to do the following in the click event of the command button on form2

'whatever code you want to change form1 here

All I did to test, though, was change the caption of a button on form1, and didn't actually need the refresh.  You can end if it you need with a Form1.SetFocus or use the SetActiveWindow API call.

If this isn't what you meant, maybe you could be a little more descriptive, and maybe show some sample code.

ireganAuthor Commented:
Sorted and ill give u the points anyway

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now