Jump to content

ToolTip Title Limit


Skrip
 Share

Recommended Posts

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]

Link to comment
Share on other sites

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
Link to comment
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]

Link to comment
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))
Link to comment
Share on other sites

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]

Link to comment
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]

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...