C Builder TForm not allocated or created properly all its controls
- by ergey
Hi,
I would know how i can check that all the controls on the form is created and initialized.
I have form i am showing when user presses the 'update' button. It have only TProgressBar control.
The handle is not NULL for this control and at random stages it can or can't set the Position/Max values.
When i set TProgressBar-Max value to some integer it remains 0 after.
So the question is:
1) How to really create the form and all controls on it (i am currently using just Form-Show() method, which as i can check calls the constructor)
2) How to check that all controls on the form is created and PAINTED (showed)
Thanks