Discussions related to Visual Prolog
B.Hooijenga
VIP Member
Posts: 57
Joined: 11 Jul 2002 23:01

tooltipText in static textControl

Unread post 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
User avatar
Thomas Linder Puls
VIP Member
Posts: 1399
Joined: 28 Feb 2000 0:01

Unread post 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.
Regards Thomas Linder Puls
PDC
Post Reply