# DProperty\_Combo:DataChanged

- **Ortam:** İstemci
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/DProperty_Combo:DataChanged
- **Çeviri tarihi:** 2025-09-08

```lua
DProperty_Combo:DataChanged( any data )
```

## Açıklama

Kullanıcı yeni bir değer seçtikten sonra çağrılır.

## Argümanlar

1. [any](https://gmod.tr/wiki/any) **data**: Seçilen yeni veri.

### Örnek

"Table" seçeneğine tıklayın.

```lua
local choice = DP:CreateRow( "Choices", "Combo #2: Custom default text" )
choice:Setup( "Combo", "Select type..." )
choice:AddChoice( "Table", {} )
choice:AddChoice( "Function", function() end )
choice:AddChoice( "String", "Hello world" )
choice.DataChanged = function( self, data )

   print( "You selected: ", data )

end
```

**Çıktı:**

```lua
You selected:	table: 0x8e05f3b8
```

- [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/DProperty_Combo:DataChanged
