RSS

Четверг, 25.04.2024, 09:27
Главная » WoW API » API Виджеты » Простой HTML »

SimpleHTML:SetHyperlinkFormat("format")

[ править ]
Sets the format string used for displaying hyperlinks in the frame.
[клоны]
Sets the format string used for displaying hyperlinks in the frame. Hyperlinks are specified via HTML in the text input to a SimpleHTML frame, but in order to be handled as hyperlinks by the game's text engine they need to be formatted like the hyperlinks used elsewhere.

This property specifies the translation between formats: its default value of H%sh%sh provides minimal formatting, turning (for example) <a href="achievement:892">The Right Stuff</a> into Hachievement:892hThe Right Stuffh. Using a colorString or other formatting may be useful for making hyperlinks distinguishable from other text.


Signature:
Code
SimpleHTML:SetHyperlinkFormat("format")

Arguments:
  • format - Format string used for displaying hyperlinks in the frame (string)

Также смотрите: Простой HTML
Ссылки: http://wowprogramming.com/docs/widgets/SimpleHTML/SetHyperlinkFormat