Krypton
February 24, 2010, 6:21am
1
Hello
I am using the winformsMap in a tabControl,
on the form load, i am adding my layers and styles,
but the map is not showing until i pan or zoom or call the refresh
I think that the problem is because of the HandleCreated event on TabControl which is not called till you open the specified Tab
Can you give me a solution, or this is problem that i wish to take it in consideration
Thanks.
Krypton,
Thanks for your post.
I try to recreate your problem, so I create a simple sample, it works fine. Can you download it and test in your environment?
By the way, our HowDoI samples also use the map in the tabControl, it works fine too.
Thanks
James
1819-TestUsingMapInTabControl.zip (10.6 KB)
Krypton
February 25, 2010, 5:29am
3
OK, I will try it and regenerate my situation thanks
Val
February 25, 2010, 3:08pm
4
I let you know that I also tested the attached sample in my environment and I did not encounter any problem. I hope that this is working for you too now.