Initialization of ActiveX control

Which function can I put the initialization code of the ActiveX control ?

Andrew
andrewyuAsked:
Who is Participating?
 
ThaddyConnect With a Mentor Commented:
Basically, anything that doesn't communicate with other COM objects...

0
 
andrewyuAuthor Commented:
So, Create if I am using TPanel ?

Andrew
0
 
ThaddyCommented:
Do you mean dynamically creating a Tpanel? then the answer is yes. If you mean the panel is the base control for the activeX control the answer is maybe, it depends on what you've put on the panel.
0
 
andrewyuAuthor Commented:
I understand ! Thank you very much !
But how can I pass the property from design time to runtime of the OCX ?

Andrew
0
All Courses

From novice to tech pro — start learning today.