Forms appearing/disappearing to slowly
-
I am implementing a basic GUI to interface an application. Whenever I return from a dialog form, if I perform any computations that are the least bit intensive, the form lingers on screen before finally passing the focus to the initial form. Similarly, when displaying a dialog form, if I again perform any intensive computations on load, the elements within the box do not complete loading until after the computations have diminished. Is there any way I can tell the GUI to ensure that the screen has been updated before performing any further operations, somewhat like a flush? kialmur
-
I am implementing a basic GUI to interface an application. Whenever I return from a dialog form, if I perform any computations that are the least bit intensive, the form lingers on screen before finally passing the focus to the initial form. Similarly, when displaying a dialog form, if I again perform any intensive computations on load, the elements within the box do not complete loading until after the computations have diminished. Is there any way I can tell the GUI to ensure that the screen has been updated before performing any further operations, somewhat like a flush? kialmur
Try Application.DoEvents()