Hi,
I'm working in a child form of my parent form, FormMain. In the main form, I have a button with a caption (or 'text' as I Guess it's called now). In the child form, I want to click on a button, and change the text of the button in the parent form. This is how I'm trying to do it, from the child form:
dim formmain as new formmain()
formmain.button1.text = "some text"
I guess the syntax is correct, but it's not working. Any help is appreciated.
I'm working in a child form of my parent form, FormMain. In the main form, I have a button with a caption (or 'text' as I Guess it's called now). In the child form, I want to click on a button, and change the text of the button in the parent form. This is how I'm trying to do it, from the child form:
dim formmain as new formmain()
formmain.button1.text = "some text"
I guess the syntax is correct, but it's not working. Any help is appreciated.