DTextEntry.RequestFocus
From GMod Wiki
Function | |
Syntax |
DTextEntry:RequestFocus( ) Where is this used? |
Description: | |
Attempts to obtain the focus for a text entry. | |
Returns: | nil |
Part of Library: | DTextEntry |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=DTextEntry.RequestFocus]DTextEntry.RequestFocus [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | A text entry requests the focus. |
---|---|
Used on | |
Code | // parent = pre-defined panel TextEntry = vgui.Create("DTextEntry", parent) TextEntry:RequestFocus() |
Output | N/A |