# DProgress

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

## Açıklama

0 ile 1 arasında bir kesir ile çalışan bir ilerleme çubuğudur. Burada 0, %0'ı ve 1, %100'ü temsil eder.

[Kaynağı görüntüle](https://github.com/Facepunch/garrysmod/blob/master/garrysmod/lua/vgui/dprogress.lua)

## Ebeveyn

Bu sayfada listelenmemiş metotları vb. [Panel](https://gmod.tr/wiki/Panel)'dan miras alır.

## Metotlar

[number](https://gmod.tr/wiki/number) DProgress:[GetFraction](https://gmod.tr/wiki/DProgress:GetFraction)()

İlerleme çubuğunun kesirini döndürür. 0, %0 ve 1, %100'dür.

DProgress:[SetFraction](https://gmod.tr/wiki/DProgress:SetFraction)( [number](https://gmod.tr/wiki/number) fraction )

İlerleme çubuğunun kesirini ayarlar. 0, %0 ve 1, %100'dür.

### Örnek

%75'e (1 üzerinden 0.75) ayarlanmış bir DProgress oluşturur.

```lua
local DProgress = vgui.Create( "DProgress" )
DProgress:SetPos( 10, 30 )
DProgress:SetSize( 200, 20 )
DProgress:SetFraction( 0.75 )
```

**Çıktı:** ![](https://gmod.tr/api/uploads/wiki/8e70df712a81b1141aaf.png)

- [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/DProgress
