123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|545|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Basic Basement -> Forms communicating in visual basic

Tue, 11 Dec 2007, 08:58
HoboBen
I can't stand the stuff, but it's part of my coursework.

Anyone know how I get a child form to talk to it's parent form in VisualBasic?

My parent form opens the child okay, but when I click a button in the child form, I want it to add an item to a list in the parent (preferably by calling a function in the parent's code)

-=-=-
blog | work | code | more code
Tue, 11 Dec 2007, 09:04
HoboBen
Whoops, I got it!

Instead of listName.AddItem('blah blah'), I used formName.listName.AddItem('blah blah')



-=-=-
blog | work | code | more code