Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

Hold changes to form properties

$
0
0
I am attempting to write a program that involves a bunch of different forms. I would like to be able to fill in the text of a button on another form, but as soon as I close the form the changes are are gone and the form returns to its default properties. The change I am making is something like this:

Dim frm As New Form1
frm.button1.Text = "test"
frm.Show()

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>