# Panel:SetTabPosition

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

```lua
Panel:SetTabPosition( number position )
```

## Açıklama

TAB tuşuna basıldığında, sayı dizisindeki bir sonraki seçilebilir panel seçilir.

> **NOT:** Bu fonksiyon, TAB ile gezinmenin çalışması için ana panelde [Panel:SetFocusTopLevel](https://gmod.tr/wiki/Panel:SetFocusTopLevel) fonksiyonunun çağrılmasını gerektirir.

## Argümanlar

1. [number](https://gmod.tr/wiki/number) **position**

### Örnek

SetTabPosition uygulaması ile içine bilgi girilecek bir menü oluşturur.

```lua
local Panel = vgui.Create("DFrame")
Panel:SetSize(500,250)
Panel:Center()
Panel:SetText("My Information")
Panel:MakePopup()

local FirstName = vgui.Create("DTextEntry", Panel)
FirstName:SetSize(400,35)
FirstName:SetPos(50, 50)
FirstName:SetPlaceholderText("First Name")
FirstName:SetTabPosition( 1 )

local LastName = vgui.Create("DTextEntry", Panel)
LastName:SetSize(400,35)
LastName:SetPos(50, 100)
LastName:SetPlaceholderText("Last Name")
LastName:SetTabPosition( 2 )

local FavoriteColor = vgui.Create("DTextEntry", Panel)
FavoriteColor:SetSize(400,35)
FavoriteColor:SetPos(50, 150)
FavoriteColor:SetPlaceholderText("Favorite Color")
FavoriteColor:SetTabPosition( 3 )

local CompletedButton = vgui.Create("DButton", Panel)
CompletedButton:SetSize(200,35)
CompletedButton:SetPos(150, 200)
CompletedButton:SetText("Done")
function CompletedButton:DoClick()
    LocalPlayer():ConCommand("say My name is " .. FirstName:GetText() .. " " .. LastName:GetText() .. " and my favorite color is " .. FavoriteColor:GetText() .. "!")
    Panel:Remove()
end
```

**Çıktı:** İşlevsel bir TAB Tuşuna sahip bir Panel.

- [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/Panel:SetTabPosition
