Discussion:
Hints and TPageControl
(too old to reply)
C.N.Taur
2008-07-31 07:50:42 UTC
Permalink
Hi,

a hint defined in a TabSheet of a PageControl with tsFlatButtons does not
pop up when the mouse is over the button - only when the mouse is over the
(active) tabsheet.
I think, that is more important for the user to see the hint, before he/she
clicks the button.

Is there a way to display the hint when the mouse is over the button?

(RAD Studio 2007 / C++)

Thank you
C.N.Taur
C.N.Taur
2008-08-04 10:36:53 UTC
Permalink
C.N.Taur wrote:

found a method myself:

Every TabSheet has a hint, and then:

..PageControl1MouseOver(...,X,Y)
{
PageControl1->Hint =
PageControl1->Pages[PageControl1->IndexOfTabAt(X,Y)]->Hint;
}

If someone has an easier solution, you're welcome...

C.N.Taur
Post by C.N.Taur
Hi,
a hint defined in a TabSheet of a PageControl with tsFlatButtons does not
pop up when the mouse is over the button - only when the mouse is over the
(active) tabsheet.
I think, that is more important for the user to see the hint, before
he/she clicks the button.
Is there a way to display the hint when the mouse is over the button?
(RAD Studio 2007 / C++)
Thank you
C.N.Taur
Loading...