Sign in to follow this  
Followers 0
Skrip

ToolTip Title Limit

9 posts in this topic

Hey guys. It seems that if the title is too long, it will not display at all. Is there a way to figure out if it is displaying or not? Because it does not throw an error.


[left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left]

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Hey guys. It seems that if the title is too long, it will not display at all. Is there a way to figure out if it is displaying or not? Because it does not throw an error.

I think the limit is 64 characters. Edited by Andreik

When the words fail... music speaks

Share this post


Link to post
Share on other sites

Oh well, then just check if the string sent to the title is >64 and if it is, throw your own error. Thanks.


[left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left]

Share this post


Link to post
Share on other sites

Oh well, then just check if the string sent to the title is >64 and if it is, throw your own error. Thanks.

Just test on my PC and I can create tooltip with 99 chars in title. Check if you can put more.

When the words fail... music speaks

Share this post


Link to post
Share on other sites

The limit seems to be 99 on XP Home SP3.

This works

ToolTip("hej", 1, 1, _StringRepeat("A", 99))

But not this

ToolTip("hej", 1, 1, _StringRepeat("A", 100))
So 99 characters is the limit for tooltips. :P

When the words fail... music speaks

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

99 is the max for me. - Thanks for checking that.

If StringLen($root) > 95 Then
                            $root = StringLeft($root, 90)
                            $root = "CUT-" & $root
                        EndIf
                        ToolTip("Bloop", 0, 0, "Root-" & $root)

There. That's a good way around it.

Edited by Firestorm

[left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left]

Share this post


Link to post
Share on other sites

I think this should be mentioned in the helpfile so I opened a new ticket #601, it will be interesting to see what they respond

Thank you.

[left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0