Garry's Mod Wiki

DTextEntry:SetHistoryEnabled

DTextEntry:SetHistoryEnabled

  DTextEntry:SetHistoryEnabled( boolean enable )

Description

Enables or disables the history functionality of DTextEntry.

Arguments

1 boolean enable
Whether to enable history or not.

Example

A common example.

local textentry = vgui.Create("DTextEntry") textentry:SetHistoryEnabled(true) textentry.History = { "Message 1", "Message 2" }

Special Pages


Wikis

?

Render Time: 26ms

DB GetPage 2
Generate Html 3
SaveChanges (1) 11
Render Body 0
Render Sidebar 7