all groups > dotnet interop > april 2004 >
You're in the

dotnet interop

group:

DateTimePicker on a TabControl in a UserControl - Crash


DateTimePicker on a TabControl in a UserControl - Crash indhu
4/21/2004 3:55:32 PM
dotnet interop:
Hi

I have a User Control which has TabControl with 2 pages. I have
DateTimePicker Control on one of the TabPages, whenever the Calendar is
opened to change the dates it hangs.

This happens when my calling program is an MFC program(unmanaged).

But if the DateTimePicker is on the usercontrol itself and not on the tab, I
don't face this problem.

Has anybody faced similar problems?

Thanks
Indhu


Re: DateTimePicker on a TabControl in a UserControl - Crash pz0071 NO[at]SPAM hotmail.com
4/21/2004 11:52:14 PM
Hi Indhu

I have a similar problem and think it might be related to yours,
something buggy in the tab control maybe???

My project is in C# (VS 2003) and I also have user control with a
TabControl containing 4 tabs. If I place an ActiveX control (MapInfo
MapX) on the SECOND TAB and run my app it won't show the ActiveX at
all! No compilation errors, no runtime errors.

If however I change the order of the tabs so the one containing the
ActiveX is now the FIRST TAB and run my app.... it works fine - it's
there, I can interact with it, etc.. !!

Go figure??

I'd also be interested to see if anyone come accross this or how they
solved it.

Cheers,
Peter Z


[quoted text, click to view]
AddThis Social Bookmark Button