EditBox:SetHyperlinksEnabled

From Warcraft Wiki
Jump to navigation Jump to search

Sets whether the EditBox triggers hyperlink script handlers.

EditBox:SetHyperlinksEnabled(enabled)

Arguments

enabled
Flag - 1 to allow the EditBox to trigger the OnHyperlinkEnter, OnHyperlinkLeave, and OnHyperlinkClick script handlers; nil to suppress these handlers.

Details

  • If hyperlink script handlers are enabled, they're executed when the user clicks on any hyperlink within the EditBox; if they are disabled, the edit box gets focus and moves the cursor to the location of the click.

Patch history

Wrath-Logo-Small.png Patch 3.0.8 (2009-01-20): Added.

See also