Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API EditBox GetAltArrowKeyMode

Last wiki revision 2008-07-15

This function returns the value of ignoreArrows attribute of <EditBox> element.

ignoreArrows = editBox:GetAltArrowKeyMode

  • none
  • ignoreArrows -- 1 if editBox ignores keyboard arrows, and nil if editBox captures them.

By default, <EditBox> element reacts on pressing keyboard arrows -- left and right arrows will move input cursor around the text in edit box, while up and down arrows will cycle through EditBox's history (if it is enabled).

However, when ignoreArrows attribute is set to true, <EditBox> will only react on pressing Alt+Arrows and ignore unmodified arrows. In this case event "arrow key pressed" will propagate up the ierarchy of objects until it is captured, most likely by WorldFrame.

  • EditBox object
  • EditBox:SetAltArrowKeyMode(ignoreArrows)

Source

https://warcraft.wiki.gg/wiki/API_EditBox_GetAltArrowKeyMode · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.