D
D
Denis2021-09-11 08:55:51
C++ / C#
Denis, 2021-09-11 08:55:51

How to make hover event on tab with tabcontrol?

Task: there is a tabcontrol, it has a tab, when the cursor is hovering over the tab, a notification pops up, for example. How to do it ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
koss4ok, 2021-11-26
@koss4ok

There is a MouseHover event that occurs when you hover and hold the mouse over an object for a certain amount of time.
This can help.

tabControl1.TabPages[0].MouseHover += Popup_MouseHover;

If you need it to work instantly - try MouseEnter.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question