Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling Private Function

Status
Not open for further replies.

andylo

Programmer
Apr 22, 2002
12
0
0
AU
Hi,

Say I have 2 forms, A and B.

Now, I'm in Form B... can I call a a private function in form A and let it do all the change in form A?

If I can't do that, but I'm really in need to call the Form A function while focusing in Form B, what can I do?

Thanks in advance.

Andy

 
I know putting it as Public will solve the problem. But the problem is I can't!

 
You did not say that you could not make it Public. Can you make it Friend? Can you put the Function into a BAS module instead? Can you make another Function as Public in the form to call the private function? You've given very little info. Generate Forms/Controls Resizing/Tabbing Class
Compare Code (Text)
Generate Sort Class in VB or VBScript
 
See my response to oinky at thread796-265309

Chip H.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top