something about VB simple FORMS
Posted on 2000-04-14
i have a form which is heavy loaded with a lot of controls, some of them are graphics.
now, even when loading all in the back, before the form is displayed - only the SHOW or Visible=true - takes quite a lot of time to make the form displayed in its stable-final look (on my 366MHZ,128MB it takes about 1-2 seconds). as i said - it's a heavy one.
but that's not the problem....
the problem is that in a certain situation - i have to run a function just in the moment the form becomes stable and fully displayed. NOT BEFORE. NOT AFTER. then - hide the form.
as far as i know - there is no EVENT that fired on the moment the form becomes stable.
i've tried all traditional events (Activate, GotFocus, Resize, Paint) but all fired before all the form's controls are fully displayed.
MSDN does not mention that issue when dealing in "Life Cycle of Forms".