Quick Info Tooltips
|Top Previous Next|
Quick info tooltips for objects, properties, methods, and events come from the platform files.
You can create tooltips for your own procedures, variables, constants, etc.
For this, place a comment directly after the declaration. You can even use simple HTML formatting!
The above will yield this tooltip:
Tooltip comment rules
Your comment must be on the same line with the declaration or definition, or on the line immediately following it (additional rules).
If there is a "tooltip" comment both in the definition and the declaration, then the one in the definition wins.
Using HTML in tooltips
Here are the HTML tags (elements) that you can use to spruce up your tooltips:
•Presentation markup tags: <b>, <i>, <big>, <small>, <s>, <u>, <font [color=color] [size=size] [face=face]>
•Line break <br>
•Comments: <!-- -->
All other tags (elements) cannot be used. Most unsupported tags are simply ignored, but some lead to scrambled text output.
One peculiarity of the HTML engine of TIDE is that it requires you to place the space character before the closing tag in the tag pair.
For example, if you write "<b>Bold</b> text" then you will get this output: "Boldtext". Writing "<b>Bold </b>text" will produce the correct result: "Bold text".