pax
Mar 4th, 2001, 03:27 PM
When creating ActiveX controls with timer events, the timer may start when using it in design time of the VB project, which may cause flicker and other bad stuff.
I need for my control to check if the parent application is in design time or run time.
At the moment I use the Show event of my usercontrol.
I use the :
"parent.ShowInTaskbar = parent.ShowInTaskbar"
and then trap the error, because the ShowInTaskbar property is Read-Only in runtime.
This works OK, but I think there must be a better way telling.
Does anyone know how to do this the "Real" way?
Thx in advance.
Pax
I need for my control to check if the parent application is in design time or run time.
At the moment I use the Show event of my usercontrol.
I use the :
"parent.ShowInTaskbar = parent.ShowInTaskbar"
and then trap the error, because the ShowInTaskbar property is Read-Only in runtime.
This works OK, but I think there must be a better way telling.
Does anyone know how to do this the "Real" way?
Thx in advance.
Pax