• 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
0
iregan
Asked:
iregan
1 Solution
 
jeffreyhambyCommented:
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
Form1.Refresh

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.

Jeff
0
 
ireganAuthor Commented:
Sorted and ill give u the points anyway
0

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