NumGumpTextEntry
Sets a text entry value on the gump at the specified index.
GumpIndex — index of the gump (0-based).
TextEntryID — the text entry element ID.
Value — the text string to fill in.
Returns True if the text entry was found and set, False if the gump index is invalid, the text entry was not found, or the character is disconnected.
Unlike GumpAutoTextEntry, this method targets a specific gump by index.
Устанавливает значение текстового поля на гампе с указанным индексом.
GumpIndex — индекс гампа (начиная с 0).
TextEntryID — ID элемента текстового поля.
Value — текстовая строка для заполнения.
Возвращает True, если текстовое поле найдено и заполнено, False — если индекс гампа недействителен, текстовое поле не найдено или персонаж не подключён.
В отличие от GumpAutoTextEntry, этот метод обращается к конкретному гампу по индексу.
function NumGumpTextEntry(GumpIndex: Word; TextEntryID: Integer; Value: String): Boolean;
def NumGumpTextEntry(GumpIndex: int, TextEntryID: int, Value: str) -> bool: ...
begin
NumGumpTextEntry(0, 3, '500');
NumGumpButton(0, 50);
end.
NumGumpTextEntry(0, 3, '500')
NumGumpButton(0, 50)
GumpAutoTextEntry, NumGumpButton, NumGumpCheckBox, NumGumpRadiobutton, GetGumpInfo