Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 167
  • Last Modified:

Initialization of ActiveX control

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

Andrew
0
andrewyu
Asked:
andrewyu
  • 2
  • 2
1 Solution
 
ThaddyCommented:
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

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now