# DTextEntry:SetHistoryEnabled

- **Ortam:** İstemci, Menü
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/DTextEntry:SetHistoryEnabled
- **Çeviri tarihi:** 2025-09-08

```lua
DTextEntry:SetHistoryEnabled( boolean enable )
```

## Açıklama

[DTextEntry](https://gmod.tr/wiki/DTextEntry)'nin geçmiş özelliğini etkinleştirir veya devre dışı bırakır. Bu, oyuncunun yukarı ve aşağı ok tuşlarını kullanarak geçmiş öğeleri arasında gezinmesine olanak tanır.

[DTextEntry:AddHistory](https://gmod.tr/wiki/DTextEntry:AddHistory) sayfasına bakın.

## Argümanlar

1. [boolean](https://gmod.tr/wiki/boolean) **enable**: Geçmişin etkinleştirilip etkinleştirilmeyeceği.

### Örnek

Yaygın bir örnek.

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

- [GMod Wiki ana sayfası](https://gmod.tr/wiki)

---

[Tüm sunucular](https://gmod.tr/) · [GmodTR Launcher](https://gmod.tr/launcher) · [Rehber](https://gmod.tr/rehber) · [GMod Wiki](https://gmod.tr/wiki) · [GmodTR nedir?](https://gmod.tr/hakkinda) · [Sunucu ekle](https://gmod.tr/sunucu-ekle) · [Discord](https://discord.gg/gmodtr)

Kaynak: https://gmod.tr/wiki/DTextEntry:SetHistoryEnabled
