Fandom

WoWWiki

API EditBox GetAltArrowKeyMode

104,634pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Widget API ← EditBox < GetAltArrowKeyMode


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

ignoreArrows = editBox:GetAltArrowKeyMode()

Arguments Edit

none

Returns Edit

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

Details Edit

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.

See Also Edit

Also on Fandom

Random Wiki