CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

How to use tooltip with CheckBoxEx?

by George » 13 Nov 2013 10:34

Hi!

I decided to include styled tooltips.
With buttons i have no problems.
How to use tooltip with CheckBoxEx?
Best regards!
George
 
Posts: 486
Joined: 23 May 2013 15:50
Location: Russia, Moscow

by Jorge Sousa » 13 Nov 2013 12:50

George

What are "styled tooltips"

And how do you do it with buttons?

Regard
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by George » 13 Nov 2013 13:10

cgdevtools_support wrote:What are "styled tooltips"

TIWCGJQTooltip (i mean, i replaced default hint tooltip to TIWCGJQTooltip, that contains few style presets).

cgdevtools_support wrote:And how do you do it with buttons?

Same approach as in demo:
In designer:
IWCGJQButton.ShowHint = false;
IWCGJQButton.Hint = 'test';

IWCGJQCheckBoxEx1.ShowHint = false;
IWCGJQCheckBoxEx1.Hint = 'test';

IWCGJQCheckBox1.ShowHint = false;
IWCGJQCheckBox1.Hint = 'test';

IWCGJQTooltip.JQTooltipAutoHint := True;
IWCGJQTooltip.JQTooltipControls:
IWCGJQButton;
IWCGJQCheckBoxEx1;
IWCGJQCheckBox1.
Best regards!
George
 
Posts: 486
Joined: 23 May 2013 15:50
Location: Russia, Moscow

by Jorge Sousa » 13 Nov 2013 13:16

Hi

The JQTooltipAutoHint = True, only works for elements that have the attribute "title" in they're html

I'm afraid ComboBoxEx it's not implementing this - Delphi Hint to HTMLTitle attribute :/

But it's easy to do it.

Meanwhile you can link explicitelly add the ComboBoxEx control to ToolTip

Regards
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by George » 13 Nov 2013 13:23

I'm afraid ComboBoxEx it's not implementing this

So, at this moment TIWCGJQTooltip with IWCGJQCheckBoxEx1 is not compatible? And there is no easy workarounds?
Best regards!
George
 
Posts: 486
Joined: 23 May 2013 15:50
Location: Russia, Moscow

by Jorge Sousa » 13 Nov 2013 14:09

Hi

It's incompatible with JQTooltipAutoHint

But you can add the ComboBoxEx to Tooltip.JQTooltipControls as a temporary work around

Regards
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by assapan » 23 Sep 2015 11:26

Hi jorge,
I am able to make tooltip work with TIWCGJQCheckBox but not with TIWCGJQCheckBoxEx regardless of parameter JQTooltipAutoHint.
It seems that the event onHover is already taken .
Want to visit Ardeche http://leclosdelarc.fr/index.php
The Pont d’Arc Cavern http://en.cavernedupontdarc.fr
Image
User avatar
assapan
 
Posts: 600
Joined: 16 Dec 2013 12:04
Location: France


Return to JQTooltip

Who is online

Users browsing this forum: No registered users and 2 guests

Contact Us.