Hello
Is it possible to add an AxKernelCad component to a ChildWindow programmatically, i.e. by some code, only when required ? Right now, I add this manually, but it is cumbersome and in some cases, just not practical. Being able to do this on the fly when needed would be very useful.
If you could point out which sample to look at for the above would be very much appreciated.
Regards
Creating kernelcad control programmatically
Re: Creating kernelcad control programmatically
Hi Warren
It should work. I will try to dig out a snipped shortly. It is not the expected use of KC. Your would bypass the form designer, which injects useful code to keep the IDE aware of the control
It is easy to avoid by creating a .NET form, kind of KcContainerForm, which would contain KC window only and create it at runtime. It would serve as a compound control for your forms
Nick
It should work. I will try to dig out a snipped shortly. It is not the expected use of KC. Your would bypass the form designer, which injects useful code to keep the IDE aware of the control
It is easy to avoid by creating a .NET form, kind of KcContainerForm, which would contain KC window only and create it at runtime. It would serve as a compound control for your forms
Nick