In my form load event, I change background images of controls. The problem is that people can see one control by one changing images when it loads up .
Also there is a specific button on the page that again changes the background images of all the controls on the page and some controls shift to the side of the page. you can see the changes to the GUI one by one here too.
Is there away around this for at least one of the situations????
A short example would be:
Is there a way to make all buttons change it's colour first before showing???
Also there is a specific button on the page that again changes the background images of all the controls on the page and some controls shift to the side of the page. you can see the changes to the GUI one by one here too.
Is there away around this for at least one of the situations????
A short example would be:
VB.NET:
Private sub form1_load(byval sender as object, e as system.eventargs) handles me.load
for each btn as button in Groupbox1.controls
btn.backgroundImage = my.resources.bluebutton
next
end sub
Private sub Button1_Click(byval sender as object, e as system.eventargs) handles button1.click
for each btn as button in Groupbox1.controls
btn.backgroundImage = my.resources.redbutton
next
groupbox1.location = new point(100,100)
groupbox2.visible = true
end sub
Last edited by a moderator: