UncleRonin
Well-known member
This is how it stands: I have a program with a main form which has MDI children. The main form includes a status bar and methods for changing the various labels (these methods are public).
Now, I call normal methods on the children forms which use these status methods and a lot of the time the status labels are never updated. I've tried adding MsgBoxes after the calls to the main status methods - the labels update correctly if the MsgBox is displayed.
I really dont get why this happens? Is the window not updating or painting correctly so the labels only display after a certain period or what? I have a child method which updates the status labels in phases and even if a particular phase takes a long time, the label doesn't update. The weird thing is that I update a progress bar at the same time as the labels and this updates correctly.
I am completely lost, this doesn't make any sense. Can anyone help me?
Now, I call normal methods on the children forms which use these status methods and a lot of the time the status labels are never updated. I've tried adding MsgBoxes after the calls to the main status methods - the labels update correctly if the MsgBox is displayed.
I really dont get why this happens? Is the window not updating or painting correctly so the labels only display after a certain period or what? I have a child method which updates the status labels in phases and even if a particular phase takes a long time, the label doesn't update. The weird thing is that I update a progress bar at the same time as the labels and this updates correctly.
I am completely lost, this doesn't make any sense. Can anyone help me?