C crystaluz Well-known member Joined Feb 17, 2009 Messages 55 Programming Experience Beginner Sep 3, 2009 #1 Hello.. How to control other form from a main form? For example : I want to change background color in Form2 after a button in Form1 is clicked. Thank you.. Last edited: Sep 3, 2009
Hello.. How to control other form from a main form? For example : I want to change background color in Form2 after a button in Form1 is clicked. Thank you..
BlackByte Well-known member Joined Jun 29, 2008 Messages 126 Location South Africa, Durban Programming Experience 1-3 Sep 3, 2009 #2 Form2.BackColor = Color.Red Upvote 0 Downvote
newguy Well-known member Joined Jun 30, 2008 Messages 611 Location Denver Co, USA Programming Experience 1-3 Sep 3, 2009 #3 FYI, that will work only if they opened it as the default form. VB.NET: Form2.Show 'and not Dim f As New Form2 f.Show Upvote 0 Downvote
FYI, that will work only if they opened it as the default form. VB.NET: Form2.Show 'and not Dim f As New Form2 f.Show
C crystaluz Well-known member Joined Feb 17, 2009 Messages 55 Programming Experience Beginner Sep 3, 2009 #4 Thank you for your helps... a very good reference : ----> DevCity.NET :: Multiple Forms in VB.NET. Part 2 - Accessing Controls on Other Forms Upvote 0 Downvote
Thank you for your helps... a very good reference : ----> DevCity.NET :: Multiple Forms in VB.NET. Part 2 - Accessing Controls on Other Forms