C Builder TForm not allocated or created properly all its controls
Posted
by ergey
on Stack Overflow
See other posts from Stack Overflow
or by ergey
Published on 2010-05-29T08:49:40Z
Indexed on
2010/05/29
8:52 UTC
Read the original article
Hit count: 235
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
© Stack Overflow or respective owner