box This be a box object that points to a pop-up menu that is going to serve
as the auto-complete menu.
Zurückgegebener Wert
None
This method sets an auto-complete menu for the box. As the user types suggestions
are shown based on the content within the auto-complete pop-up box provided.
function AttachPopupToEditBox(editBox)
{
if (editBox)
{
var autoMenu = scene.getBoxById("textBoxAutoCompMenu");
if (autoMenu)
{
editBox.setRelatedPopupBox(autoMenu);
}
}
}