J
jester
When I assign a value to the Text property of a form in
the Load event, the form initially appears "invalidated",
particularly the regions where child controls are supposed
to be sited. But after forcing a paint event (by hiding
then showing the form manually), the form displays
properly. I managed to find out that everything works fine
when I put the Text-assigning code in the constructor
instead, but I'm just curious why the behavior is such.
Thanks
the Load event, the form initially appears "invalidated",
particularly the regions where child controls are supposed
to be sited. But after forcing a paint event (by hiding
then showing the form manually), the form displays
properly. I managed to find out that everything works fine
when I put the Text-assigning code in the constructor
instead, but I'm just curious why the behavior is such.
Thanks
