Garry's Mod Wiki

Panel:GetCaretPos

number Panel:GetCaretPos()

Description

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

Returns

1 number
The caret position/offset from the start of the text. A value of 0 means the caret sits before the first character.

Page Links


Special Pages


Wikis

?

Render Time: 27ms

DB GetPage 3
Generate Html 1
SaveChanges (1) 8
Render Body 0
Render Sidebar 13