Garry's Mod Wiki

Panel:SetCaretPos

void Panel:SetCaretPos( number offset )

Description

Sets the position of the caret (or text cursor) in a text-based panel object.

Arguments

1 number offset
Caret position/offset from the start of text. A value of 0 places the caret before the first character.

Page Links


Special Pages


Wikis

?

Render Time: 40ms

Session 0
DB GetPage 7
Generate Html 0
SaveChanges 19
Render Body 0
Render Sidebar 12