archer_coal
Regular
- Joined
- Apr 4, 2003
- Messages
- 96
Does anyone know if the formload event fires before the form is actually painted or after?
I know this sounds like a silly question but what if you were posting a loop - counter through the label.text during the form load. Wouldnt you see the counter increment unless the form didnt paint itself until the form load code was complete?
The reason i ask is that on occasion, some of my labels seem to retian their default properties rather than the formload properties.
ex.
in the Formload event
label1.text = "form load value"
but in the properties window for the label i set the text to
"default value"
after the form loads at runtime the label reads "default value"
I know this sounds like a silly question but what if you were posting a loop - counter through the label.text during the form load. Wouldnt you see the counter increment unless the form didnt paint itself until the form load code was complete?
The reason i ask is that on occasion, some of my labels seem to retian their default properties rather than the formload properties.
ex.
in the Formload event
label1.text = "form load value"
but in the properties window for the label i set the text to
"default value"
after the form loads at runtime the label reads "default value"