Page 1 of 1

tooltipText in static textControl

Posted: 2 Jan 2014 14:36
by B.Hooijenga
Greetings and best wishes to you all and may the Force of Visual Prolog be with you!.

I have a small problem.
I try to launch a tooltiptext in a static textcontrol.
Clause generatedInitialize shows it correctly like:

Code: Select all

    StaticText_ctl = textControl::new(This),     StaticText_ctl:setText("Static text"),     StaticText_ctl:setPosition(112, 18),     StaticText_ctl:tooltipText := toolTip::tip("ToolTipText")

But when I hover with the mouse, there is no reaction.
Buttons, listControls, editControls work normally.

What goes wrong?

Kind regards

Ben

Posted: 3 Jan 2014 0:53
by Thomas Linder Puls
I believe that static texts act like disabled controls and disabled controls does not show tooltips (both things being standard Windows behavior).

I.e. it is standard Windows behavior that static texts does not have tooltips.