Product : Engine, Version : 5.0.1.1034Alpha, ArticleID : 41023768

HowTo : When VectorDraw control is visible=false in .NET , some events not firing

Article41023768
TypeHowTo
ProductEngine
Version5.0.1.1034Alpha
Date Added11/4/2004
Submitted byHans Berende
Keywords

Subject

When VectorDraw control is visible=false in .NET , some events not firing

Summary

When VectorDraw control is visible=false in .NET , some events (like NeedFileConvert,IsValidFormat) not firing.

Solution

By making VectorDraw window invisible(hidden) makes DOTNET to destroy the window and that causes some events and windows messages not to fire/translate. The result of this is that events like NeedFileConvert etc will not fire.

So it is better not to set visible value of VectorDraw to false.