# SetEditBoxWrapMode

## Description

When SetEditBoxMultiLine is set to 0 this command sets whether the single line of text will scroll to the right or wrap to a new line when it over flows the edit box width. The use will still not be allowed to enter new line characters themselves.

## Definition

SetEditBoxWrapMode( index, mode )

void agk::SetEditBoxWrapMode( UINT index, int mode )

## Parameters

- index - The ID to modify.
- mode - 0 to scroll to the right (default), 1 to wrap to a new line.