Game Development Community

Does tabcomplete work for guiTextEditCtrl?

by game4Rest · in Torque Game Engine · 11/30/2006 (2:50 am) · 2 replies

Hi all?

I have a gui containing two GuiTextEditCtrls, one for player ID, the other for password. When I finish the input of ID, I want to move the focus from the ID text edit control to password control just by hitting tab key.

I tried to set "tabcomplete=1". But it didn't work. Is 'tabComplete' not for texteditctrl? If it isn't, is there another way to solve my problem?

Any reply will be highly appreciated.

Hongjin

#1
11/30/2006 (7:49 pm)
Has anyone succeeded to move focus from one to another textEditCtrl?
#2
06/23/2009 (8:01 pm)
onTabComplete( theControl )

Purpose
This callback is executed if the tab key is pressed, and the tabComplete field is set to
true.
Syntax
theControl – The ID of this control.