bringing datepicker to the top

L

lokesh

Have created a form containing the datepicker as part of my toolbar(VSTO ,
O2003 ,C#). It had the problem of opening in the background instead of the
foreground. Is there any solution . Have used the
form.showdialog(activeInspectorHandle) but does not solve my problem.

To overcome this used form.topmost which is creating a new problem. It
behaves properly by staying on the top and used form.close() to close it
whenever it gets deactivated. Thats works fine. But once I open the calendar
in the datepicker form, the datepicker form does not close when i do
form.close in the mouseleave event of the datepicker. Seems like it cannot
close the datepicker until mouseclick event is recieved.

Is there a solution for it.

Regards,
Lokesh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top