Page 1 of 1

How to use tooltip with CheckBoxEx?

PostPosted: 13 Nov 2013 10:34
by George
Hi!

I decided to include styled tooltips.
With buttons i have no problems.
How to use tooltip with CheckBoxEx?

Re: How to use tooltip with CheckBoxEx?

PostPosted: 13 Nov 2013 12:50
by Jorge Sousa
George

What are "styled tooltips"

And how do you do it with buttons?

Regard

Re: How to use tooltip with CheckBoxEx?

PostPosted: 13 Nov 2013 13:10
by George
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.

Re: How to use tooltip with CheckBoxEx?

PostPosted: 13 Nov 2013 13:16
by Jorge Sousa
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

Re: How to use tooltip with CheckBoxEx?

PostPosted: 13 Nov 2013 13:23
by George
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?

Re: How to use tooltip with CheckBoxEx?

PostPosted: 13 Nov 2013 14:09
by Jorge Sousa
Hi

It's incompatible with JQTooltipAutoHint

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

Regards

Re: How to use tooltip with CheckBoxEx?

PostPosted: 23 Sep 2015 11:26
by assapan
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 .