Tooltip and Errorprovider problem

I

Issac

Hi,

I am writing a program which will be used in Win2000 and
Win98 platform. The program include a Form (called
myForm) which has a TextBox, Tooltip, Errorprovider and a
Button.

Tooltip will be set with TextBox content and Errorprovider
will be set in TextBox Validating event if it is empty.
The Button is actually pop (ShowDialog) itself (myForm).

In Win2000, everything is fine,
but in Win98 or WinMe, there's a problem.

Problem:
I run the program, 1st form appear, I type something on
TextBox (tigger set Tooltip), then click Button to pop a
2nd form and set its Textbox to empty (trigger
Errorprovider check). The 2nd form will lose focus and
1st form will bring to front. As long as I click on the
1st form, the 2nd form will appear up front again.

This problem only happen in Win98/WinMe but not in Win2000.
Can someone give me a hand on this please?

Thanks.
 
F

Fabio Maresca

I have the same problem.
If I set a tooltip on a control while the mouse is on the same control and
the form is in showdialog
the form goes back the form that called the showdialog.

The error appears to happen only in win98 and not in win2000.

bye
Fabio
 

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