P.RichText.GotoTextEnd
From GMod Wiki
| Function | |
| Syntax | Panel:GotoTextEnd( ) |
| Description: | |
| Goes to the bottom of the element. | |
| Returns: | nil |
| In Object: | Panel |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=P.RichText.GotoTextEnd]P.RichText.GotoTextEnd [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Goes to the bottom of the given RichText control |
|---|---|
| Used on | |
| Code | local Text=vgui.Create( 'RichText' ) for i = 1,100 do Text:AppendText( "Long text\n" ) end Text:GotoTextEnd() |
| Output | None |